John Shahid
622fcbb4f0
fix a typo in the replay logic, we should read from the new file
2014-02-26 20:45:41 -05:00
John Shahid
c42e613afe
fix #274 . open a new fd for replay
...
Since we have to seek to the right location of the file, we cannot use
the same fd or dup it. File descriptors share the same file location.
2014-02-26 20:45:41 -05:00
John Shahid
b931784b3f
add some logging to log.go
2014-02-26 20:45:41 -05:00
John Shahid
c1019cdc20
log a message when we rotate the log
2014-02-26 20:45:41 -05:00
John Shahid
e0fc50d3df
make closing a wal safe
2014-02-26 20:45:41 -05:00
John Shahid
165a6a0b72
add some logging to the wal recovery
2014-02-26 20:45:41 -05:00
John Shahid
e4a3c53b88
add a test to illustrate corrupted wal
2014-02-26 20:45:41 -05:00
John Shahid
12f6a0d67c
sleep before exit to print the log messages
2014-02-26 20:45:41 -05:00
Todd Persen
f74c9d309a
Stub out the burn-in suite.
2014-02-26 17:51:48 -05:00
Paul Dix
6f5eae18e6
Fix #277 . Ensure that duplicate shards won't be created for a given time.
2014-02-26 16:54:31 -05:00
John Shahid
f951814c77
fix the go build tag
2014-02-26 16:49:28 -05:00
Paul Dix
10dbcdc880
Fix engine test to not fail after half past the hour
2014-02-26 13:45:15 -05:00
John Shahid
3ec1502f7d
fix the renaming of the latest rpm package
2014-02-25 18:19:29 -05:00
John Shahid
f4da084c79
oops, change the rpm version only
2014-02-25 17:57:54 -05:00
John Shahid
d9c7a261b9
fix the package version in the makefile
2014-02-25 17:55:16 -05:00
Paul Dix
6cd0bc98f8
Remove a bunch of debugging print lines
2014-02-25 17:45:52 -05:00
Todd Persen
0c41aeb439
Fix #265 . Add support for series name interpolation in continuous queries.
...
Conflicts:
src/parser/parser_test.go
2014-02-25 17:31:49 -05:00
Paul Dix
86e21f74a6
Merge pull request #269 from influxdb/create-cluster-interfaces-and-refactor
...
Create cluster interfaces and refactor
2014-02-25 17:27:00 -05:00
John Shahid
9eab5884de
sleep after writing data in the integration suite
2014-02-25 17:26:09 -05:00
John Shahid
eb8d28c846
Merge branch 'master' into create-cluster-interfaces-and-refactor
...
Conflicts:
src/api/http/api.go
src/coordinator/coordinator.go
src/coordinator/raft_server.go
2014-02-25 17:26:05 -05:00
John Shahid
d0839e2b17
fixes #258 , fixes #250 , fixes #216 , fixes #166 , fixes #165 , fixes #164 , fixes #132 , fixes #103 , fixes #65
...
Merge branch 'master' into create-cluster-interfaces-and-refactor
Conflicts:
src/api/http/api.go
src/api/http/api_test.go
src/coordinator/cluster_configuration.go
2014-02-25 16:42:37 -05:00
John Shahid
9ff7ce8994
0 write timeout should be treated as no timeout
2014-02-25 16:12:57 -05:00
John Shahid
a2865bd884
fix the api test suite
2014-02-25 16:11:34 -05:00
John Shahid
50491fc0d9
fix the coordinator test suite
2014-02-25 16:08:53 -05:00
John Shahid
a8f233081a
fix the coniguration test suite
2014-02-25 16:06:44 -05:00
John Shahid
86fd769d52
remove a test that's not relevant anymore
2014-02-25 16:05:44 -05:00
John Shahid
dbac16b9c0
sleep little longer
2014-02-25 16:05:44 -05:00
John Shahid
00b85b1f18
expect no series instead of empty series
2014-02-25 16:05:44 -05:00
Paul Dix
893f4d7b8b
Comment out old datastore tests
2014-02-25 15:50:01 -05:00
Paul Dix
90335f790c
Make protobuf client reconnect on error.
2014-02-25 15:14:56 -05:00
John Shahid
da2b3e5946
remove the if statement to actually yield empty series
2014-02-25 15:01:46 -05:00
John Shahid
8e1261bc95
series with no points don't return anything
2014-02-25 14:57:14 -05:00
John Shahid
3679e41187
sleep longer to make sure data is deleted
2014-02-25 14:57:13 -05:00
Paul Dix
c3fb89de3a
Fix test that does a big group by query against multiple shards so that it doesn't break every other day.
2014-02-25 14:49:40 -05:00
Paul Dix
036ea3c00a
Made protobuf client always send end stream responses even if dropping other data on the floor.
2014-02-25 14:48:30 -05:00
Paul Dix
a76532de28
Fix race condition where tests would freeze up randomly.
...
Was caused by the response channels in coordinator filling up and blocking the response reader for a given cluster server (protobuf client). Added buffer size as a configuration option.
2014-02-25 13:18:05 -05:00
Paul Dix
099694e42a
Make recover from WAL look for raft server names to set the local id.
2014-02-25 13:10:49 -05:00
Paul Dix
ae9c545ff2
Add additional error forwarding to request handler that will close the response channel out.
2014-02-25 07:39:23 -05:00
Paul Dix
417582d70b
Removed retry logic and extra cruft from protobuf client for something simpler.
...
Retries are handled elsewhere either by the write buffer or the client making the request. Connection status and other weird reconnect things where simplified to use a single lock.
2014-02-25 07:36:40 -05:00
Paul Dix
679403b464
Fixed bug where raft snapshots were storing the local server id, which isn't shared state. Updated initialization and recovery to set the local server id based on if a given server's Raft name matches the raft name set locally.
2014-02-25 07:28:53 -05:00
Paul Dix
bcb2f25e6d
Update engine to not yield empty series. Make sure that errors are sent in the response.
2014-02-24 15:29:53 -05:00
Paul Dix
aef2f1a72e
Add small delay after POST and DELETE in tests to make sure write buffers have cleared out.
2014-02-24 15:29:53 -05:00
Paul Dix
18abe42987
Fix issue that was causing cross shard queries to hang. Queries that don't aggregate locally weren't closing out the seriesWriter.
2014-02-24 15:29:53 -05:00
Todd Persen
58db5c63f0
Make sure we drop the continuous query at the end of the test.
2014-02-24 15:02:25 -05:00
Todd Persen
b9a337a1f9
Remove test output.
2014-02-24 15:01:53 -05:00
Paul Dix
6fa16b472d
Fix bug where continuous queries were causing the inflight data to get changed. Result of buffering writes now.
2014-02-24 14:37:27 -05:00
Paul Dix
df74078f0e
Make sure the continuous query test deletes the old queries even if it fails. Paul says "use defer, Todd, use defer"
2014-02-24 14:36:32 -05:00
Paul Dix
11ee648f81
Make list series engine not yield empty response, which was breaking the test when shards didn't have any series.
2014-02-24 13:56:19 -05:00
Paul Dix
2b6dd3778f
Lock the connection when setting it on the protobuf client.
2014-02-24 13:55:43 -05:00
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