Commit Graph

753 Commits (a3ebd573167fecc8c9021877c9bb34435b56d9d2)

Author SHA1 Message Date
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
Paul Dix 3465de85d5 Wire up logic to get shards for a query. 2014-02-16 12:28:00 -05:00
Paul Dix bf139380cb Wire up replicated writes, creation of shards across cluster. 2014-02-16 10:52:02 -05:00
Paul Dix a76c63e389 Wire up on the fly creation of shards, get of shards for writes and writes in a shard. 2014-02-14 15:37:21 -05:00
Paul Dix c9217769fc Added limits for non-aggregate queries. 2014-02-10 16:10:39 -05:00
Paul Dix d59238c0fd Fixed aggregate queries. 2014-02-10 15:27:15 -05:00
Paul Dix cc52247315 Wrote and wired up where clause. Refactored engine to be used by a shard instead of by the coordinator. Moved filtering over to engine. 2014-02-09 17:10:35 -05:00
Paul Dix eba8f5a495 Wire up local shard and simple querying without limits, aggregates, or where clauses. 2014-02-08 16:37:13 -05:00
Paul Dix 111403a1a5 WIP: wire up some of the query functionality in coordinator and create query spec object in parser. 2014-02-06 17:56:26 -05:00
Paul Dix 6c2a6738c8 Wire up writes in leveldb_shard and the cluster local shard. 2014-02-06 13:17:59 -05:00
Paul Dix 9135ad8b19 Make request shouldn't call connect. This happens when the server is added to the cluster config. 2014-02-06 13:17:07 -05:00
Paul Dix 27faa01a4e Make cluster configuration set the connection on the server object when adding it. 2014-02-06 11:15:09 -05:00
Paul Dix 288f468da8 Fix server startup to wait for local server id after raft server is started 2014-02-06 10:27:02 -05:00
Paul Dix 16b0052f59 Merge branch 'master' into create-cluster-interfaces-and-refactor
Conflicts:
	src/protocol/protocol.pb.go
2014-02-06 10:07:53 -05:00
Paul Dix 8a075bc3b6 Remove cluster servers from Shard since it's not used 2014-02-06 10:07:19 -05:00
Paul Dix 00ff999ac8 WIP: more code around writes from coordinator into shards. Shards to local store or server. 2014-02-05 18:50:09 -05:00
John Shahid 8dcf3f537f update the changelog 2014-02-05 15:18:32 -05:00
John Shahid b874144cb3 make the max leveldb open files configurable 2014-02-05 15:12:44 -05:00
John Shahid 7883d28e04 add gogoprotobuf to .gitignore 2014-02-05 15:12:44 -05:00
John Shahid 92026eb699 add memory profiling and change the command line flag 2014-02-05 15:12:44 -05:00
Paul Dix 13aafa1ab7 Add interface for WAL and stub out. 2014-02-04 17:25:44 -05:00
John Shahid 0124e96ac3 Merge pull request #226 from Dieterbe/ignore-protocol.pb.go
ignore protocol.pb.go as it's auto generated
2014-02-04 09:15:53 -08:00
Paul Dix eb30e9acf4 WIP: refactor so coordinator.RunQuery is the single entry point for running queries.
Coordinator will have the responsibility for distributing the query and possibly running through the engine. This is because the results returned by remote servers may not need to be run through the engine. I'll fix the engine tests later when this refactoring is completed to work with the new sharding style of clustering.
2014-02-03 18:19:36 -05:00
Paul Dix a51d41d40b Make block size 64k 2014-02-03 16:11:56 -05:00
Paul Dix 7c4846d360 Add initial parts of the sharded leveldb store. Stub out shard management in raft server. Update server to work with new cluster configuration. 2014-02-02 18:18:19 -05:00
Paul Dix f6583bc41a Update Shard Query interface. Add getting shard by series and time 2014-02-02 14:16:17 -05:00
Dieter Plaetinck 58d062c3be ignore protocol.pb.go as it's auto generated 2014-02-01 12:56:57 -05:00
John Shahid d11578008b fix the limit logic so we don't send batches for every point 2014-01-31 17:18:56 -05:00
John Shahid da14d98bda update the changelog 2014-01-31 16:41:38 -05:00
Paul Dix 625a4194ed Remove extraneous fmt.printf and add some loggigng 2014-01-31 16:27:47 -05:00
Paul Dix 17ae70b2dd Fix coordinator test so raft server and cluster config use same configuration object. 2014-01-31 16:25:04 -05:00
John Shahid d1800759b3 remove unnecessary check 2014-01-31 15:48:05 -05:00
Paul Dix 52fad8d379 Close #225. Remove the limit to the number of keys that can be scanned 2014-01-31 15:45:36 -05:00
Paul Dix 3df7afaed9 Add cluster interfaces, refactor cluster config and server into cluster package.
* fix backfill of continuous queries to actually work
2014-01-31 15:41:04 -05:00
John Shahid 2b5a75e4d4 delete gogoprotobuf directory 2014-01-31 15:33:50 -05:00
Paul Dix b8ba76c05d Merge pull request #223 from influxdb/fix-223-panic-in-server
Panic in server
2014-01-31 12:30:57 -08:00
John Shahid aaf2b818ac fix #223. Add a test to make sure the panic is fixed 2014-01-31 15:13:53 -05:00
John Shahid 314ceac128 fix #224. Handle null values when replicating data 2014-01-31 15:00:49 -05:00
John Shahid 6e812a9f3f add more logging 2014-01-30 18:01:31 -05:00
John Shahid 7d761e6aa4 Revert "Bump rvm to 2.1.0"
This reverts commit f474e47366.
2014-01-30 16:58:46 -05:00
John Shahid e364fcd5db download the new protobuf library 2014-01-30 16:16:02 -05:00
Paul Dix b575eb345c Update changelog with bugfix and change to 0.4.1 release. 2014-01-30 16:09:17 -05:00
Paul Dix dd547a7c3e Merge pull request #215 from influxdb/fix-215-server-fails-restart-after-raft-compaction
Fix error with server restart after Raft log compaction
2014-01-30 13:07:17 -08:00
John Shahid 25cb03e38c Fix #215. Fix hangs on startup after raft compaction
Because raft compaction compact the entire log in one state, commands in
the log aren't replayed on startup. Instead the entire state is loaded
this prevented the AddPotentialServer from being called which in turn
didn't put anything in the channel
2014-01-30 15:55:33 -05:00
John Shahid 3d0b5270e5 make the integration tests less noisy 2014-01-30 15:07:40 -05:00