Commit Graph

1076 Commits (eb292f741445758fc1cb6a7d56b5ed80ac14c5f2)

Author SHA1 Message Date
Paul Dix e8d2352c9c Handle access denied responses to close out stream. Close the seriesWriter when a list series query is done. 2014-02-24 13:55:21 -05:00
Paul Dix 1853812da2 Make an error on request to another server send the message down the response channel (non-blocking) so that go routines monitoring the channel and not the method return can stop. 2014-02-24 13:52:46 -05:00
Paul Dix faa33b0594 Ensure recovery from WAL connects servers. 2014-02-24 13:50:46 -05:00
Paul Dix 3917cc5c45 Remove old data replication test since it's no longer valid. 2014-02-24 10:06:47 -05:00
Paul Dix e9560b082e Fix for server failure scenario test. Make reconnects non-blocking. Update heartbeating to timeout when waiting for a response. 2014-02-23 17:52:35 -05:00
Paul Dix 4e2c9b8c19 Comment out the test failure with deletes. For now deletes are not highly available and require every server in the cluster to be running. 2014-02-23 15:15:20 -05:00
Paul Dix 6232c4f4f9 Increase timeouts and heartbeat intervals on test and sample config files. 2014-02-23 15:14:01 -05:00
Paul Dix c0c84b48f6 Make heartbeat interval and backoff public so they get serialized. Fixes 100% CPU issue that was being caused by heartbeats getting sent out without sleep periods. 2014-02-23 15:12:52 -05:00
Paul Dix 0892d341b3 Make protobuf client and request handler write protobuf length and data in one call to write to avoid race conditions 2014-02-23 11:46:06 -05:00
John Shahid 1154adc8a5 fix the tests to expect no series instead of series with no points 2014-02-22 16:15:33 -05:00
John Shahid dd3f024685 fix a bug in single point queries and better error handling 2014-02-22 15:55:13 -05:00
John Shahid b2c66d384d update the release script to pull and clean the repo before building 2014-02-21 17:46:15 -05:00
John Shahid b5321d4a42 remove println 2014-02-21 17:46:15 -05:00
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