Ben Johnson
89334df5ae
Refactor commands.
2013-10-11 01:02:38 -06:00
Xiang Li
40c520ca1b
refactor remove raft singleton
2013-10-10 15:40:05 -07:00
Xiang Li
da83ee223b
clean up from yifan
2013-09-28 16:26:19 -07:00
Xiang Li
1caf2a3364
remove old store
2013-09-15 22:28:42 -04:00
Xiang Li
49c160b50c
change getMachines
2013-08-19 13:42:00 -07:00
Xiang Li
64e6d54758
add remove peer
2013-08-19 12:10:11 -07:00
Xiang Li
981351c9d9
use type inheritance
2013-08-17 08:30:31 -07:00
Xiang Li
ca4b5815f7
make raft and etcd server
2013-08-17 08:30:31 -07:00
Xiang Li
ee66f231b6
clean getMachines
2013-08-17 08:30:31 -07:00
Xiang Li
fb00d335c0
cleanup print
2013-08-17 08:30:31 -07:00
Xiang Li
c3533d6ac2
fix test
2013-08-17 08:30:30 -07:00
Xiang Li
8f3e6f340f
remove duplicate codes
2013-08-11 11:42:38 -07:00
Xiang Li
6120fa634e
remove duplicate codes
2013-08-11 11:40:45 -07:00
Xiang Li
ce3c55ba3f
refactor
2013-08-09 23:03:49 -07:00
Xiang Li
d3471eec7f
separate_id
2013-08-09 21:06:16 -07:00
Brandon Philips
a19048841f
feat(trasnport): add an independent node name
...
Don't let the raft algorithm know anything about the transport. Give it
a nodename instead. This will allow us to support more complex
networking setups in the future.
2013-08-09 17:09:57 -07:00
Xiang Li
50613c555b
simplify machine list. do not need a separate struct to store machines, since we have already stored them into etcd store.
2013-08-02 20:21:11 -07:00
Xiang Li
79966b6550
Accept maxsize parameter. Deny further join request if reache max size
2013-07-31 11:05:12 -07:00
Xiang Li
268ba2592a
record machine info locally via join command
2013-07-14 11:45:35 -07:00