12 Commits

Author SHA1 Message Date
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
Brandon Philips
8e5a24d367 chore(etcd): introduce argInfo variable
reduce the global sprawl and put all of the basic info in an instance of
Info Struct
2013-08-08 12:17:25 -07:00
Cong Ding
13af54fdd0 revise log handling
All the log-related operations are calling functions in util.go. This makes
the consistancy of the logs.
2013-08-01 23:28:03 +02:00
Xiang Li
d2382c232e not hardcode debug scheme 2013-07-20 16:29:27 -07:00
Xiang Li
749a89d5a5 change SnapshotRequest to RequestSnapshot 2013-07-19 11:56:34 -07:00
Xiang Li
58501151da change snapshot api due to the change in go-raft 2013-07-16 18:03:21 -07:00
Xiang Li
268ba2592a record machine info locally via join command 2013-07-14 11:45:35 -07:00
Xiang Li
45af72c941 redirect join to server port 2013-07-10 20:00:05 -07:00
Xiang Li
5271da3d19 gofmt 2013-07-09 17:31:24 -07:00
Xiang Li
a3173bfd31 sepearte raft handlers and client handlers to two files and clean up related codes 2013-07-09 17:29:47 -07:00