Commit Graph

2562 Commits (7c8b1a553f8df8a615914872325f593b305df7aa)

Author SHA1 Message Date
Blake Mizerany f9c4ba3ea3 wait: init 2014-09-03 09:20:11 -07:00
Xiang Li 85103adfe0 wal: move record method to record.go 2014-09-03 09:20:11 -07:00
Xiang Li 3699f2e5f9 etcdserver: rename someMachineMessage->machineMessage 2014-09-03 09:20:11 -07:00
Xiang Li 4c116a5a01 etcd: add consistent get 2014-09-03 09:20:10 -07:00
Xiang Li f6a9599eb4 *: rename etcd to etcdserver 2014-09-03 09:20:10 -07:00
Yicheng Qin 2ff75cda0e server: remove panic or fatal in participant.run 2014-09-03 09:20:10 -07:00
Yicheng Qin ebafba0043 server: don't print out errors that cannot be resolved 2014-09-03 09:20:10 -07:00
Yicheng Qin fab17f216d server: recover peerHub when restart from snapshot 2014-09-03 09:20:10 -07:00
Yicheng Qin 27c9a0535c server: add tests for on-disk snapshot 2014-09-03 09:20:10 -07:00
Xiang Li 5fdc124578 etcd: clean up snap 2014-09-03 09:20:10 -07:00
Yicheng Qin a28dc4559b raft/etcd: recover node 2014-09-03 09:20:10 -07:00
Xiang Li 63489b9ef5 etcd: snap and wal init 2014-09-03 09:20:10 -07:00
Yicheng Qin 442cae6844 wal: support multiple files 2014-09-03 09:20:10 -07:00
Xiang Li 4296cd3fa4 *: remove old server 2014-09-03 09:20:10 -07:00
Xiang Li f891199ab0 snap: refactoring 2014-09-03 09:20:09 -07:00
Xiang Li f664c02a40 snap: handle snapshot file error robustly 2014-09-03 09:20:09 -07:00
Xiang Li 338f120cbf snap: check mkdir error in tests 2014-09-03 09:20:09 -07:00
Xiang Li aff5b75487 snap: separate Load to Load and snapNames 2014-09-03 09:20:09 -07:00
Xiang Li 71d12d3330 snap: fix typo 2014-09-03 09:20:09 -07:00
Xiang Li 3b2a90e775 snap: separate different sections in the filename by adding dash 2014-09-03 09:20:09 -07:00
Yicheng Qin f7417cf693 server: add testCluster.Add
and fix possible testing error.
2014-09-03 09:20:09 -07:00
Xiang Li f7580cd3b6 snap: fix missing continue 2014-09-03 09:20:09 -07:00
Xiang Li 12a9b84b2b snap: better naming 2014-09-03 09:20:09 -07:00
Xiang Li 94521738a9 snap: init commit 2014-09-03 09:20:09 -07:00
Yicheng Qin c1da78601a server: use random generated node id 2014-09-03 09:20:09 -07:00
Xiang Li a5df254e53 raft: add clusterId to snapshot 2014-09-03 09:20:08 -07:00
Xiang Li c1c2aeffab etcd: attach default scheme to the peer-list if scheme is not given 2014-09-03 09:20:08 -07:00
Yicheng Qin cc1df691cc store: fix the bug caused by random iteration order over map 2014-09-03 09:20:08 -07:00
Xiang Li e9a22d0f34 etcd: make retry configurable 2014-09-03 09:20:08 -07:00
Yicheng Qin 33465a7e42 server: fix testings
Make WaitMode panic to alert.
2014-09-03 09:20:08 -07:00
Yicheng Qin bb95187bc7 server: more better testing 2014-09-03 09:20:08 -07:00
Xiang Li cce88a8504 etcd: better testing... 2014-09-03 09:20:08 -07:00
Yicheng Qin 6e9947599a server: add testServer and testCluster 2014-09-03 09:20:08 -07:00
Xiang Li 14a6584a22 etcd: defer afterTest 2014-09-03 09:20:08 -07:00
Xiang Li 0ba26afb4d etcd: remove skipped test 2014-09-03 09:20:08 -07:00
Xiang Li d71865e094 etcd: cleanup tests 2014-09-03 09:20:08 -07:00
Xiang Li 8e2557697f etcd: rename initTestServer -> newUnstartedTestServer 2014-09-03 09:20:08 -07:00
Xiang Li 3229c91dbb etcd: replace buildServer with runServer in tests 2014-09-03 09:20:07 -07:00
Blake Mizerany 0881021e54 all config -> cfg 2014-09-03 09:20:07 -07:00
Blake Mizerany a5eec89113 cfg/ -> conf/ 2014-09-03 09:20:07 -07:00
Blake Mizerany 08b370ebe4 main: remove query_params*.go 2014-09-03 09:20:07 -07:00
Blake Mizerany 3653287c97 Revert "Documentation -> doc"
This reverts commit 9c179224aa04f0f25c52dd7b66576c3faf56cfc9.
2014-09-03 09:20:07 -07:00
Yicheng Qin 9203f68894 server: add /v2/stats/self 2014-09-03 09:20:07 -07:00
Yicheng Qin 5574b6e224 server: add /v2/stats/leader 2014-09-03 09:20:07 -07:00
Blake Mizerany 41ccf13393 config -> cfg
It is extremely confusing to use variables named the same as a package.
Please no longer do this.
2014-09-03 09:20:07 -07:00
Blake Mizerany 18c4be469f move ./http to main 2014-09-03 09:20:07 -07:00
Blake Mizerany 6f3162af69 Documentation -> doc 2014-09-03 09:20:06 -07:00
Blake Mizerany b4fd9353cf remove fixtures 2014-09-03 09:20:06 -07:00
Blake Mizerany a2b9f9310c remove pkg/strings 2014-09-03 09:20:06 -07:00
Blake Mizerany 1039f3dcea remove bench 2014-09-03 09:20:06 -07:00