Commit Graph

130 Commits (9bc39209dac5214fd1777d58796bc40e10869a57)

Author SHA1 Message Date
Paul Dix f3dce09621 uncoment raw ordering test 2015-04-02 15:22:27 -07:00
Paul Dix c4b780d8b2 remove xxx before integration test 2015-04-02 15:22:27 -07:00
Paul Dix 6c46a5c83b Add chunked responses and streaming of raw queries.
Refactored query engine to have different processing pipeline for raw queries. This enables queries that have a large offset to not keep everything in memory. It also makes it so that queries against raw data that have a limit will only p
rocess up to that limit and then bail out.

Raw data queries will only read up to a certain point in the map phase before yielding to the engine for further processing.

Fixes #2029 and fixes #2030
2015-04-02 15:22:27 -07:00
Philip O'Toole 7b720b6169 Unit-test two queries in a single request 2015-04-02 11:38:39 -07:00
Philip O'Toole 8a9f8d0eda Add simple test that results in entries in values 2015-04-02 11:36:02 -07:00
Jason Wilder 91fb7e3756 Track data node urls on brokers
This sends data node urls via the broker heartbeat from each data
node.  The urls are tracked on the broker to support simpler
cluster setup as well as distributed queries.
2015-04-02 11:27:53 -06:00
Philip O'Toole a7d904778a Correctly filter series for NEQREGEX
Series that do not have any tags are considered matching in the NEQREGEX
case so the must be explicitly added.
2015-03-31 16:14:30 -07:00
Philip O'Toole 60149cf7b5 Unit test EQ and NEQ tag query 2015-03-31 16:14:30 -07:00
Philip O'Toole 26b2a2662c Add unit test showing issue #1604 is fixed 2015-03-31 16:14:30 -07:00
Philip O'Toole 70d57d399d Check if the tag filter is a NOT
If so, then return all series IDs which do not match.

Fix for issue #2097
2015-03-31 16:14:30 -07:00
Philip O'Toole 1b700264a7 Also include NEQ in filters
This fixes != for field value comparisons.
2015-03-27 23:07:57 -07:00
Philip O'Toole a0e9daee63 SHOW DATABASES returns series name "databases" 2015-03-27 16:24:57 -07:00
Philip O'Toole 3e59dac0fb Allow integration tests to be skipped 2015-03-27 11:28:19 -07:00
Philip O'Toole 8fe4e428a7 Bring 3-node test back online 2015-03-27 10:45:38 -07:00
Philip O'Toole a23984a840 Allow int tests to query only 1 node 2015-03-27 10:45:38 -07:00
Philip O'Toole efdb7e89e2 Disable snapshot endpoint during testing
Once we have proper endpoint layering, this can be re-enabled.
2015-03-26 16:25:30 -07:00
Philip O'Toole f22778a41f Merge pull request #2085 from influxdb/leading_underscores
Test leading underscores
2015-03-26 13:52:59 -07:00
Philip O'Toole ed918304c4 Test tags with leading underscores 2015-03-26 13:48:26 -07:00
Philip O'Toole 2a2c8ecddb Remove redundant writes from WHERE testing 2015-03-26 13:41:22 -07:00
Cory LaNou d653e41712 support fractional time on graphite endpoint 2015-03-26 14:18:40 -06:00
Cory LaNou 524eb78a69 graphite logs in seconds, not milliseconds 2015-03-26 14:18:40 -06:00
Philip O'Toole c461c7e7b4 Remove logging to specific file 2015-03-25 17:41:39 -07:00
Paul Dix 7076b9ea9a Merge pull request #2067 from influxdb/relative-times-off-2045
Fixing intervals for group by.
2015-03-24 22:17:12 -04:00
Cory LaNou 805cba71a4 clarify test name 2015-03-24 20:14:05 -06:00
Cory Lanou 7be574534c Fixing intervals for group by. Fixing bad PR 2015-03-24 20:13:05 -06:00
Ben Johnson 21782c0a67 Merge branch 'master' of https://github.com/influxdb/influxdb into backup-restore 2015-03-24 16:05:49 -06:00
Philip O'Toole 14585db38b Move TestServer_RawDataReturnsInOrder to int tests
Fix #2052
2015-03-23 12:14:15 -07:00
Ben Johnson 3befa12fa3 Merge branch 'master' of https://github.com/influxdb/influxdb into backup-restore
Conflicts:
	cmd/influxd/main.go
	cmd/influxd/run.go
2015-03-22 15:38:41 -06:00
Ben Johnson 11c808f55f Add restore and bootstrap.
This commit adds the "influxd restore" command to the CLI. This allows
a snapshot that has been produced by "influxd backup" to be restored
to a config location and the broker and raft directories will be
bootstrapped based on the state of the snapshot.
2015-03-22 15:31:49 -06:00
Ben Johnson 963d277a75 Add "influxd backup" command.
This commit adds the backup command to the influxd binary as well as
implements a SnapshotWriter in the influxdb package.

By default the snapshot handler binds to 127.0.0.1 so it cannot be
accessed outside of the local machine.
2015-03-22 10:54:14 -06:00
Philip O'Toole 2a4032a9a5 TestServer_LimitAndOffset to integration test 2015-03-20 20:54:40 -07:00
Philip O'Toole 57a1f5e500 Remove debug fmt.Println from tests 2015-03-20 16:36:49 -07:00
Philip O'Toole 8b48ff9a28 Move MergeMany to integration test 2015-03-20 16:32:34 -07:00
Philip O'Toole 566b2b62af Support writing test data via a function 2015-03-20 16:11:00 -07:00
Philip O'Toole 45ac8ff2d9 Explicitly check for errors getting current user 2015-03-20 15:18:29 -07:00
Philip O'Toole 05fb2842ba Use _id for Series IDs
Fix issue #2008
2015-03-19 19:04:07 -07:00
Philip O'Toole 3001448f16 Merge branch 'master' into limit-group-by
Conflicts:
	CHANGELOG.md
2015-03-19 15:17:50 -07:00
Cory LaNou c13bdd5e86 refactor, bug fix, move tests to integration 2015-03-19 14:33:47 -06:00
Cory LaNou a6171b3382 refactor of limit/offset 2015-03-19 13:31:46 -06:00
Paul Dix 56281fbfd5 WIP: add IsRawQuery to select and fix LIMIT and OFFSET on GROUP BY time 2015-03-19 11:41:18 -04:00
Jonathan Nutzmann 105d0aa503 fixing failed integration tests - change how number of points calculated and the expected result of the server 2015-03-19 10:28:47 -05:00
Philip O'Toole 521cddb2a7 Move TestServer_ExecuteWildcardGroupBy 2015-03-18 17:37:08 -07:00
Philip O'Toole c95af24e43 Move TestServer_ExecuteWildcardQuery 2015-03-18 17:27:20 -07:00
Philip O'Toole b5d5ce070f Move TestServer_DropMeasurementSeriesTagsPreserved 2015-03-18 17:21:10 -07:00
Philip O'Toole 82136aab65 Move TestServer_ExecuteQuery to integration tests 2015-03-18 16:53:06 -07:00
Philip O'Toole fdc44be5e9 Add comment for precision-write tests 2015-03-18 16:16:52 -07:00
David Norton f338e8212c remove debugging change from tests 2015-03-17 12:46:27 -04:00
David Norton 62ae32b0ce wire up regex in FROM clause 2015-03-16 19:40:59 -04:00
Ben Johnson 06d839223e Integration test delay. 2015-03-14 14:31:25 -06:00
Cory LaNou a19f81d3e9 Graphite numbers are always float64 2015-03-14 09:59:33 -06:00