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
John Shahid
a8c3f85139
fix the coordinator test assertion
2014-02-17 17:31:27 -05:00
Paul Dix
15209ada3f
Remove old handling code for replication write and proxy write.
2014-02-17 15:57:20 -05:00
Paul Dix
9f51e96cbc
Wire up drop series query.
...
* Added ability to have a query spec execute against all servers in a shard.
* Ensured that both deletes and drops run against all servers.
2014-02-17 15:55:39 -05:00
John Shahid
ca1d9bf160
fix #189 . Use name instead of username when listing users
2014-02-17 14:20:13 -05:00
Paul Dix
a3ebd57316
Add yield func type to clean up method signatures
2014-02-17 13:58:11 -05:00
Paul Dix
f66d16831c
Wire up delete from series.
...
Hits shards and replicates out.
Gets logged into the WAL on the receiving server.
Removed old implementation.
Add the passthrough query processor. This can be used later if deletes return the number of rows deleted.
2014-02-17 10:37:48 -05:00
Paul Dix
d46e29aaf8
Remove old ListSeries functions
2014-02-17 07:27:58 -05:00
Paul Dix
9edfbf93d0
Wire up the list series query and remove the passthrough processor.
2014-02-16 19:21:28 -05:00
Paul Dix
8befa0900b
Wire up queries against remote shards.
2014-02-16 16:31:44 -05:00
Paul Dix
d547518f63
Remove call to SyncLogs in server since that's going away.
2014-02-16 16:31:31 -05:00