Commit Graph

1025 Commits (fe10d5b1b017a6b63707b69aed11190c486725df)

Author SHA1 Message Date
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
John Shahid 2992444e1a don't set the sequence number in the test 2014-02-18 15:37:09 -05:00
John Shahid 55a9f78f7a make the id field in the request optional 2014-02-18 15:22:10 -05:00
John Shahid e6eb494ce1 update the config files 2014-02-18 15:18:52 -05:00
John Shahid f7142f79b5 more cleanup 2014-02-18 15:18:52 -05:00
John Shahid 5d3586de4b more refactoring and fix the case when the yield function errors out 2014-02-18 15:18:52 -05:00
John Shahid 52266f24d7 some refactoring 2014-02-18 15:18:52 -05:00
John Shahid 007b0c92f2 implement log compaction 2014-02-18 15:18:52 -05:00
John Shahid 04254009d6 make the number of requests per log file configurable 2014-02-18 15:18:52 -05:00
John Shahid 6ec59953fd some bug fixing 2014-02-18 15:18:52 -05:00
John Shahid 4e62287ac9 force index creation on close 2014-02-18 15:18:52 -05:00
John Shahid 68e73e983e add log index 2014-02-18 15:18:52 -05:00
John Shahid 7fdbb75fab make the index entry size configurable 2014-02-18 15:18:52 -05:00
John Shahid 0a5fd2c829 create an index for the log file 2014-02-18 15:18:52 -05:00
John Shahid 7605782bac fsync when we create the bookmark 2014-02-18 15:18:52 -05:00
John Shahid 25aa6766e0 flush every configurable number of requests 2014-02-18 15:18:52 -05:00
John Shahid c453e5562d implement configurable auto bookmarking 2014-02-18 15:18:52 -05:00
John Shahid bda97a2528 bookmark and recovery 2014-02-18 15:18:52 -05:00
John Shahid c18d664cdf fix a bug in the skipping code 2014-02-18 15:18:51 -05:00
John Shahid daea800909 make the flush and bookmark configurable 2014-02-18 15:18:51 -05:00
John Shahid 498e09162a assign sequence numbers to points. 2014-02-18 15:18:51 -05:00
John Shahid 3ad2a5edf2 be consistent with the rest of the codebase 2014-02-18 15:18:51 -05:00
John Shahid b052f01f9e wip: implement write ahead log 2014-02-18 15:18:51 -05:00
John Shahid 193dd9a991 wip: implement write ahead log 2014-02-18 15:18:51 -05:00
John Shahid ae6fdc8d0a add Decode method to protocol.Request 2014-02-18 15:18:51 -05:00
John Shahid 7bad412223 wip: whatevs 2014-02-18 15:18:51 -05:00
John Shahid f39a47cc8c slight changes to the wal api 2014-02-18 15:18:51 -05:00
John Shahid ffeed32773 fix #103. Add location of wal to the configuration 2014-02-18 15:18:51 -05:00
Paul Dix 95d7831860 Add /cluster/servers endpoint to get server information. 2014-02-18 14:19:31 -05:00
Paul Dix 8947bb7673 Fix bug where group by times that are less than duration of a shard but would require a split would not be calculated properly. 2014-02-18 13:49:32 -05:00
John Shahid 31bfc03728 finally got some engine tests to pass 2014-02-18 13:13:10 -05:00
Paul Dix 258336d7f9 Wire up queries that require aggregation across shards.
Update coordinator to either pass through if aggregating locally or creating its own engine if it is required to aggregate.
Update shard logic to use passthrough aggregator if aggregation must be split across multiple shards.
Add method to querySpec that answers if the query will be split across multiple shards. This needs to be refined so it has better logic to handle queries that have multiple series, but can still be aggregated locally.
2014-02-18 13:05:22 -05:00
Paul Dix 3afc9f714d Wire up ascending queries that span multiple shards. 2014-02-18 07:41:13 -05:00
Paul Dix b41e77ca92 Made RunQuery on coordinator take a SeriesWriter interface for better testability. Hope you're happy John. 2014-02-17 19:40:31 -05:00
Paul Dix 79efd8e9e0 Wire up drop database. Remove cruft from coordinator, request handler, and the protocol. 2014-02-17 19:22:46 -05:00
John Shahid 570a6100fb fix the api test 2014-02-17 17:36:00 -05:00
John Shahid 2b2d587bc0 fix the engine test suite, it runs now 2014-02-17 17:32:31 -05:00
John Shahid 17b7912132 some refactoring to make the engine suite compile 2014-02-17 17:31:27 -05:00
John Shahid 3bce8f4da1 wip: move the engine tests to the integration test suite 2014-02-17 17:31:27 -05:00