Commit Graph

1113 Commits (1567c69ad1790f3af2660a4b9ac6bcf5f0b0c2cb)

Author SHA1 Message Date
Paul Dix cdfff9d621 Add code to precreate shards in the integration test 2014-02-21 17:26:35 -05:00
John Shahid 633459fcb3 fix compilation errors in the tests 2014-02-21 16:43:20 -05:00
John Shahid 9aa119485d add a HasAggregates function to SelectQuery 2014-02-21 16:37:01 -05:00
John Shahid 3ba46739d6 fix a test 2014-02-21 16:37:01 -05:00
John Shahid d65bdf46f0 move the log channel to WAL and fix the wal tests 2014-02-21 16:37:01 -05:00
John Shahid 57f2cf264f close the write log on exit 2014-02-21 16:37:01 -05:00
John Shahid 2ebbb69f06 fix few bugs with the heartbeat logic 2014-02-21 16:37:01 -05:00
Paul Dix fe12f175f2 Fix destructive queries. Add logic to have non-aggregate queries use a local engine. 2014-02-21 16:31:12 -05:00
Todd Persen 51f03d98e7 Fix #250. Continuous queries now get auto-incrementing sequence numbers assigned per timestamp. 2014-02-21 16:24:57 -05:00
Paul Dix 370140335f Wired up recovery from log on startup. Fixed bugs with commits on request numbers 2014-02-21 14:10:13 -05:00
Paul Dix 5d3ef2a867 Add check to ensure there are healthy servers to query and return error if not. 2014-02-21 10:45:38 -05:00
Paul Dix 4d0fd931b1 WIP: Add write buffer to wrap writes to servers or the local datastore and replay from logs if it gets backed up. Errors on test because Shahid didn't update the test config files or set defaults on timeouts? /me shakes fist 2014-02-20 19:50:01 -05:00
John Shahid f54b29a0cc handle heartbeat requests 2014-02-20 17:17:17 -05:00
John Shahid 37daaa2abd don't block forever when writing to remote servers 2014-02-20 16:47:55 -05:00
John Shahid 606fe1966a query healthy servers only 2014-02-20 16:32:11 -05:00
John Shahid 29f21a10b3 make heartbeat interval and timeout configurable 2014-02-20 16:32:11 -05:00
John Shahid c51118d77e implement recover from last committed request 2014-02-20 16:32:11 -05:00
John Shahid 104fdf3312 make the log file rotation thread safe 2014-02-20 16:32:11 -05:00
Paul Dix 1bd8dc8da0 Change wal.Commit to take serverId 2014-02-20 16:09:35 -05:00
Todd Persen 36b5385e65 Fix #257. Make sure we're enforcing the validity of continuous queries on creation. 2014-02-20 15:57:39 -05:00
Paul Dix 74b151968d Add method to cluster.WAL interface to recover a server from last commit. 2014-02-20 15:20:00 -05:00
Todd Persen 2b9181f122 Fix #217. Make sure permissions error messages aren't getting swallowed. 2014-02-20 15:05:05 -05:00
John Shahid 91748e0c32 delete some printfs 2014-02-20 11:21:38 -05:00
John Shahid 6f19be167e fix some nasty bug in the batching logic. /me shakes fist at paul :) 2014-02-20 11:19:53 -05:00
John Shahid f02bd8c009 fix the series equality checker 2014-02-20 11:19:53 -05:00
John Shahid e297ca946c support aliases when yielding points 2014-02-20 11:19:53 -05:00
Paul Dix de3158d2d9 limit replication factor to be a max of the number of servers in the cluster 2014-02-20 10:43:15 -05:00
Paul Dix 3af5ee2045 Add logic to break up responses into smaller chunks if they're too big 2014-02-20 10:39:01 -05:00
Paul Dix 744445d382 Make server create shards for future time frames before they hit 2014-02-19 18:42:34 -05:00
Paul Dix 6bbbe0fc15 Update default RF to 1 and short term shard size to 7d 2014-02-19 17:50:27 -05:00
Paul Dix 5a55fd0dd3 Fix bug on group by using day 2014-02-19 17:42:55 -05:00
Paul Dix 5a5e8e50d1 Change the constant for the first lower case char to use a char instead of a number to make Johnny S. happy. 2014-02-19 17:18:18 -05:00
Paul Dix 356a226c33 Remove old ring location helper. 2014-02-19 17:15:14 -05:00
Paul Dix 00c1f9b0e1 Make config use the common parse duration to support days 2014-02-19 17:13:37 -05:00
John Shahid c3451f7f00 move ParseTimeDuration to common and make it public
Conflicts:
	src/parser/query_api.go
2014-02-19 17:13:37 -05:00
John Shahid 931154dd8a remove a print statement 2014-02-19 17:10:01 -05:00
John Shahid ef48353944 fix more bugs in batching 2014-02-19 17:08:57 -05:00
John Shahid 50c590fb3c fix a bug in how the points are split into multiple shards 2014-02-19 17:08:57 -05:00
Paul Dix e720e6673b Wire up queries to regexes. Fix bug in limits on regex queries 2014-02-19 16:34:03 -05:00
Paul Dix 511177307b Add test that does a single write that needs to be split to multiple shards. 2014-02-19 16:12:26 -05:00
Paul Dix e2274cdbac Wire up save and recovery of cluster config for Raft.
Converted id on cluster server to be Id so it gets exported on save.
Changed wal sever interface to use GetId to not conflict with field.
2014-02-19 15:55:16 -05:00
Todd Persen 5d68db9f7f API endpoint for continuous queries should return simplified results. 2014-02-19 14:35:53 -05:00
Paul Dix 2a13ffac4d Remove old stuff from cluster config 2014-02-18 18:46:08 -05:00
John Shahid 3924ef8566 fix the join and merge bug 2014-02-18 18:38:16 -05:00
Paul Dix b10dd383b3 Wire up API for getting cluster servers, and creating and dropping shards. 2014-02-18 17:55:12 -05:00
John Shahid 983baf482a refactor the code 2014-02-18 17:33:06 -05:00
John Shahid f22924e24c fix some tests 2014-02-18 17:33:06 -05:00
John Shahid 35945eb4bb add some comments 2014-02-18 15:39:50 -05:00
John Shahid 11708cad64 fix the time precision in the engine test 2014-02-18 15:39:20 -05:00
John Shahid 8eb8ec9034 fix the wal interface 2014-02-18 15:38:21 -05:00