Commit Graph

2692 Commits (f5954ace5e8932815b8a2f2311fec5116e2b2a41)

Author SHA1 Message Date
John Shahid 4b92d96cb4 Merge remote-tracking branch 'refs/remotes/origin/pr/920'
Conflicts:
	integration/data_test.go
2014-09-12 13:14:33 -04:00
John Shahid 25cc9793c2 Use double quotes in GetQueryString()
Fix #923
2014-09-12 11:09:51 -04:00
David Norton e310d10b5f Refactor data_test.go to use Test* function names
Refactor integration/data_test.go to use Test* names for the tests
and remove the TestAll test case, which uses reflection to iterate
over all test functions.  Also, change the two SingleServerSuite
test functions in this file to DataTestSuite functions.

The DataTestSuite now conforms to standard Go / gocheck test
conventions.  Individual tests can be run.  Groups of tests can be
run by specifying patterns.  E.g.,

make integraton_test only=DataTestSuite

...will run all tests in data_test.go.  Or,

make integration_test only=DataTestSuite.Test.*Histogram

...will run all histogram related tests.

See the gocheck documentation for further details.
2014-09-12 00:13:41 -04:00
David Norton 08fb0c5997 Fix #780 so that fill works with all aggregates 2014-09-12 00:12:40 -04:00
John Shahid 4cc36fb7f6 Fix the millisecond time precision in the client 2014-09-11 18:16:22 -04:00
Paul Dix ba7cf48dde Update CHANGELOG.md 2014-09-11 12:45:18 -04:00
John Shahid 886885cfd7 wait for the continuous queries to run 2014-09-11 11:45:00 -04:00
John Shahid 5004cbbd57 split on the name of the series 2014-09-11 11:28:18 -04:00
Paul Dix f0c0abdb10 Add option to include space to series mappings in list series query.
Fixes #867. Close #927. Updated lexer and parser to work, added code to
coordinator to insert spaces if requested. Now the user can request the
shard spaces. `list series include spaces`
2014-09-11 11:28:18 -04:00
John Shahid e19faf7418 Merge pull request #928 from Dieterbe/fix-list-series-integration-prefix
actually use prefix in CreateSeries integration helper
2014-09-11 11:07:44 -04:00
Ben Johnson 14135c4fe2 Configuration management. 2014-09-10 18:28:12 -06:00
Dieter Plaetinck 6bba3ab988 actually use prefix in CreateSeries integration helper 2014-09-10 18:39:16 -04:00
John Shahid 963aee3185 Merge pull request #926 from influxdb/storage-key-refactor
cleanup the storage keys and point iteration in the shard's code
2014-09-10 15:16:37 -04:00
John Shahid e8d83e5ae3 Let time.Unix() do the work for us 2014-09-10 15:15:56 -04:00
John Shahid 5669346054 cleanup the storage keys and point iteration in the shard's code 2014-09-10 14:08:07 -04:00
John Shahid 7f8589bf82 Merge pull request #922 from influxdb/data-test-loop
Refactor TestAll test loop in data_test.go
2014-09-10 13:14:05 -04:00
David Norton 3556fb6b51 Refactor TestAll test loop in data_test.go
Combine the three separate loops for DB creation, running setup
functions, and running tests into one loop.  Add a DB delete at the
end of each test for cleanup.

This groups output for each test together in one place.  It also has
the advantage of not running all DB creations and setup functions until
they're needed.
2014-09-10 06:24:11 -04:00
Ben Johnson aa514f6849 Add HTTP handler, begin multi-node testing. 2014-09-09 17:01:48 -06:00
John Shahid fddcdaa650 Merge pull request #919 from leo-baltus/fedoradocs
Fedora20 and Centos7 provide libstdc++.a in a separate package
2014-09-09 10:15:50 -04:00
Leo Baltus 39411b518f Fedora20 and Centos7 provide libstdc++.a in a separate package 2014-09-09 10:43:02 +02:00
Ben Johnson 97f24d08a1 Add HTTP transport. 2014-09-08 17:03:27 -06:00
Ben Johnson 7d4c3e9c6f Add single node simulation. 2014-09-08 15:39:05 -06:00
John Shahid 655a092b5a Format the code 2014-09-08 15:50:29 -04:00
Nathaniel Cook c8c40097c6 Making histogram alignment easier to control
Fix #669
2014-09-08 15:37:20 -04:00
John Shahid f2e57008e2 add a missing import 2014-09-08 15:09:05 -04:00
Philip O'Toole 78592ac634 Prevent invalid database names
Close #843
2014-09-08 15:08:59 -04:00
John Shahid b9571f4ff3 Fix a merge conflict introduced earlier 2014-09-08 14:40:50 -04:00
John Shahid 39583a0f67 Fix minus operator without surrounding spaces
Close #768

This patch isn't backward compatible since older version allowed the use
of table names with '-' without enclosing them. With this change, '-'
characters are disallowed completely unless they were enclosed in double
quotes. The parser can be made more complicated and be more context
aware to distinguish the use of the '-' character depending on the query
being parser, but I think the approach in this patch is simpler and less
confusing from the user's point of view.
2014-09-08 14:37:34 -04:00
John Shahid 71ccbdc99c Don't panic on invalid boolean operators
Close #714
2014-09-08 14:35:31 -04:00
Paul Dix 39091fc8fd Move cluster config from raft to API.
Fixes #853. Close #854. Previously, there was an unprotected endpoint in
raft to return the cluster config that would include user hashes. This
endpoint is useful for debugging purposes so I restructured it and moved
it to the API. It ensures the requesting user is a cluster admin.

Cluster config will now return all of the cluster state including
servers, CQs, shards, etc.
2014-09-08 14:31:56 -04:00
Paul Dix 6ddfba6e32 Add ability to update existing shard spaces.
This will help users recover from #886. It's dangerous functionality because it only changes the metadata. Will document and tell people to use with caution.
2014-09-08 14:18:32 -04:00
Paul Dix f20f8e8f08 Update shard space to not set defaults
Fixes #886. Shard spaces would not have compiled regexes when the server is restarted and the cluster config is pulled from a raft snapshot. A call to MatchSeries would then reset the regex for the shard space. BAAAAAD.
2014-09-08 14:16:27 -04:00
John Shahid e1bb3be735 Fix case insensitive regex matching
Close #794
2014-09-08 14:04:12 -04:00
Paul Dix 88e46b9785 Update CHANGELOG.md 2014-09-08 13:52:23 -04:00
runner.mei b1b9971754 Make InfluxDB win32 friendly
Close #905
2014-09-08 13:03:50 -04:00
John Shahid 5ccf2387f6 Refactor the point iterator loop in its own struct 2014-09-08 13:01:47 -04:00
Ben Johnson 44a5f90acf Rough log segment read/write. 2014-09-06 21:10:06 -06:00
Paul Dix a62e8c8b4c Add ability to update existing shard spaces.
This will help users recover from #886. It's dangerous functionality because it only changes the metadata. Will document and tell people to use with caution.
2014-09-05 16:24:00 -04:00
Paul Dix 64eedb7db0 Update shard space to not set defaults
Fixes #886. Shard spaces would not have compiled regexes when the server is restarted and the cluster config is pulled from a raft snapshot. A call to MatchSeries would then reset the regex for the shard space. BAAAAAD.
2014-09-05 14:54:56 -04:00
John Shahid 5a1879f49f Fix the packaging to work on our release box 2014-09-05 13:43:46 -04:00
Ben Johnson 6a09a6fe75 Merge branch 'master' of https://github.com/influxdb/influxdb into streaming-raft 2014-09-04 13:44:37 -06:00
John Shahid c45960aa1f use gocheck in the coordinator benchmark 2014-09-04 15:24:57 -04:00
John Shahid dfd2590ed0 Add a benchmark for `list series` 2014-09-04 15:16:21 -04:00
John Shahid d85729405a Fix the packaging to work on our release box 2014-09-04 14:03:22 -04:00
John Shahid 3c9b39ce01 Return an error if an invalid column is used to filter after a join
Fix #652
2014-09-04 12:35:07 -04:00
John Shahid d631acd525 Merge pull request #902 from malthe/add-syslog-handler
Add support for "syslog" logging
2014-09-04 12:09:53 -04:00
Ben Johnson 1cd720df2a raft.md 2014-09-04 07:12:41 -06:00
Ben Johnson a527f8543b raft.md 2014-09-04 06:32:32 -06:00
Ben Johnson 883abc7564 Remove TODO 2014-09-03 16:24:50 -06:00
Ben Johnson b4acaafca0 Basic structure, encoder, decoder. 2014-09-03 16:07:39 -06:00