Commit Graph

872 Commits (8e1261bc95d36ab0c905661fec488e9bfeedba6b)

Author SHA1 Message Date
Paul Dix 74b151968d Add method to cluster.WAL interface to recover a server from last commit. 2014-02-20 15:20:00 -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
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