23 Commits

Author SHA1 Message Date
Cong Ding
468bfedf34 gofmt 2013-12-12 14:53:22 -08:00
Ben Johnson
8442e7a0dc Timeout refactor. 2013-12-07 14:35:31 -07:00
Neil Dunbar
46f8a354d1 Added the ability to specify heartbeat and election timeouts as
config parameters.
2013-12-04 16:58:44 +00:00
Xiang Li
8a0496cfae bump deps 2013-11-22 08:59:24 -08:00
Ben Johnson
cba2611c68 Renamed configuration parameters. 2013-11-15 00:13:32 -05:00
Xiang Li
0372cdea23 refactor move sync command into etcd 2013-11-08 16:00:58 -08:00
Xiang Li
9d0de611a7 feat add snapCount parameter 2013-10-30 17:36:15 -07:00
Xiang Li
107762e82a fix snapshot 2013-10-30 15:14:34 -07:00
Xiang Li
b852a746ce refactor move http status logic to server.go 2013-10-20 10:21:54 -07:00
Xiang Li
acbc0c8846 refactor return http status 201 Created when creating a new node 2013-10-19 19:57:36 -07:00
Ben Johnson
dcef04b796 Add v2 unit tests. 2013-10-17 21:52:15 -06:00
Ben Johnson
e7598075ac Use raft.Server interface. 2013-10-14 13:51:20 -06:00
Ben Johnson
1321c63f3b Extract Store into an interface. 2013-10-14 11:12:30 -06:00
Xiang Li
ef74464aea refactor remove extra function 2013-10-13 23:09:52 -07:00
Xiang Li
090d049b81 refactor move raft http handlers to peer_server_handlers.go 2013-10-13 22:50:51 -07:00
Xiang Li
7565313290 refactor add wrapper function 2013-10-13 22:20:23 -07:00
Xiang Li
a635f6b17c refactor remove the extra function 2013-10-13 22:13:20 -07:00
Ben Johnson
013d07bc2a Fix server dispatch redirection. 2013-10-13 16:58:36 -06:00
Xiang Li
0c5808eeec fix server/server.go accept name when creating a when server; gofmt 2013-10-13 10:44:40 -07:00
Ben Johnson
7416d2fdcc Mostly working. 2013-10-12 23:39:34 -06:00
Ben Johnson
8670e1b7aa Refactored. 2013-10-12 15:56:43 -06:00
Ben Johnson
bb9401544a Intermediate commit. 2013-10-12 13:35:23 -06:00
Ben Johnson
eb78d96a20 Intermediate commit. 2013-10-12 00:28:46 -06:00