Commit Graph

2415 Commits (7f8589bf825ed4c341e27529101f20f73f9c11fb)

Author SHA1 Message Date
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
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
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
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
Malthe Borch 4bc2bf492b Reformat code 2014-09-03 22:31:27 +02:00
Malthe Borch 41d32223f1 Add support for syslog facilities local0-local7
The logging configuration now accepts strings "local0" through "local7"
as facility selectors.

The input is lowercased such that e.g. "LOCAL0" is valid, too.
2014-09-03 22:22:51 +02:00
Malthe Borch 8b369aed2b Add support for "syslog" logging 2014-09-03 21:41:56 +02:00
John Shahid 31de75ebb6 Merge branch 'engine-refactor' 2014-09-03 15:25:23 -04:00
John Shahid e42bb3de3c Add some documentation 2014-09-03 15:10:43 -04:00
John Shahid fa6208ad33 Remove unused methods 2014-09-03 15:10:43 -04:00
John Shahid 2c55e04188 Move things around 2014-09-03 15:10:43 -04:00
John Shahid 0a0b14ba23 Remove more constants 2014-09-03 15:10:43 -04:00
John Shahid 4d666fc3dc rename 2014-09-03 15:10:43 -04:00
John Shahid 18dde750ab Cleanup the creation of engine processors 2014-09-03 15:10:43 -04:00
John Shahid 1606fdad95 Add a comment 2014-09-03 15:10:43 -04:00
John Shahid 8df689dbd5 Refactor bucket traversing in its own struct 2014-09-03 15:10:43 -04:00
John Shahid 2a997d2648 Clean up 2014-09-03 15:10:43 -04:00
John Shahid 843c16e196 Write to the buffer instead of using append 2014-09-03 15:10:43 -04:00
John Shahid 500eccc503 No need for a function variable 2014-09-03 15:10:43 -04:00
John Shahid 4e3361ad58 Add profiling endpoints to the http api 2014-09-03 15:10:43 -04:00
John Shahid c2d01e1f2d Simplify the response types 2014-09-03 15:10:43 -04:00
John Shahid 93e75e4c13 Add some logging 2014-09-03 15:10:43 -04:00
John Shahid 289d9164e8 Fix the some integration tests 2014-09-03 15:10:43 -04:00
John Shahid ecf30b062a Get rid of the explain query tests 2014-09-03 15:10:43 -04:00
John Shahid 4383375fe8 Split the different engines in their own types 2014-09-03 15:10:43 -04:00
John Shahid d68a798454 Move permission checking to permissions 2014-09-03 15:10:43 -04:00
John Shahid 59ab59dd2a Remove an unused interface 2014-09-03 15:10:43 -04:00
John Shahid f44b83f3ae Use separate file 2014-09-03 15:10:43 -04:00
John Shahid d696e5493c Remove some cruft 2014-09-03 15:10:43 -04:00
John Shahid bb710e0977 Get rid of the unnecessary extra argument 2014-09-03 15:10:42 -04:00
John Shahid 69e44f5e6d Use the client instead of manually posting to the server 2014-09-03 15:10:42 -04:00