Commit Graph

49558 Commits (docker_plugin_improvements)

Author SHA1 Message Date
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
John Shahid 982873cf3d Don't panic on invalid where conditions, e.g. where 1 2014-01-28 16:09:57 -05:00
John Shahid 4abec25949 Test cluster admin permission to delete data
Fix a bug that gets triggered when admin tries to delete data in a
cluster.
2014-01-28 15:51:44 -05:00
Paul Dix a4e978f138 Update changelog 2014-01-28 15:09:12 -05:00
Paul Dix 9b4a368147 Merge pull request #190 from influxdb/fix-190-ssl
Add support for SSL
2014-01-28 12:02:05 -08:00
John Shahid 25085e3bda fix #190. Close #194
Add SSL option to the api endpoint, and make it possible to disable
non-ssl port binding by not setting the port in the configuration.
2014-01-28 14:58:56 -05:00
Xiang Li b60b8b94ba Merge pull request #170 from xiangli-cmu/cleanup_loops
Cleanup loops
2014-01-28 10:00:17 -08:00
Xiang Li 1d7bc80fbe drop unused field in log 2014-01-28 11:17:05 -05:00
Xiang Li 029b60f530 add conditions for state for loops 2014-01-28 10:58:23 -05:00
Xiang Li 56d6c1755c merge with master 2014-01-28 10:52:53 -05:00
John Shahid 6a57275615 fix #147. Extra sequence number column
Add a test to make sure that we don't insert an extra sequence number
column
2014-01-27 14:59:57 -05:00
John Shahid c25d1c4484 fix #206. Add a test to check unicode support 2014-01-27 14:49:02 -05:00
John Shahid e1970eef79 use set instead of array 2014-01-27 14:48:19 -05:00
Ben Johnson b545b8d44e Merge pull request #166 from philips/change-heartbeatTimeout-to-heartbeatInterval
fix(*.go): rename HeartbeatTimeout to HeartbeatInterval
2014-01-27 07:21:33 -08:00
Ben Johnson 5ec8c0d4eb Merge pull request #167 from xiangli-cmu/dev
more safety
2014-01-27 07:18:39 -08:00
Xiang Li bdeac89463 leader must stop all heartbeat routines before stepdown and truncate its log 2014-01-27 09:05:54 -05:00
John Shahid ec0e8e44f1 sleep for the changes to propagate properly 2014-01-24 16:45:25 -05:00
John Shahid 244930c78c assert on the response code of the request 2014-01-24 16:22:24 -05:00