22 Commits

Author SHA1 Message Date
Ivan7702
90d7ebec47 gofmt 2013-09-02 19:58:45 -04:00
Ivan7702
8eaa9500e9 change heartbeattimeout to electiontimeout 2013-09-02 19:54:46 -04:00
Ivan7702
51941fa613 add timeout for transportation layer 2013-09-01 21:41:57 -04:00
Xiang Li
f813017f1b fix raft api 2013-08-18 21:12:36 -07:00
Brandon Philips
2c09cd7d1a chore(trasnsporter): delete unused variables
just return directly instead of creating intermediate variables
2013-08-17 07:57:09 -07:00
Xiang Li
3940196de0 move trans related func to trans.go 2013-08-13 12:23:35 -07:00
Xiang Li
8e48a20c85 clean up trans.go 2013-08-11 11:56:18 -07:00
Brandon Philips
7f9c2eee45 fix(transporter): consistently print debug
not all transporter handlers were printing debug on failure. Fix.
2013-08-10 23:32:22 -07:00
Brandon Philips
f1ad907875 chore(transporter): add spaces before return
just a little nip
2013-08-10 23:32:21 -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
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
58501151da change snapshot api due to the change in go-raft 2013-07-16 18:03:21 -07:00
Cong Ding
fd1d908e79 fix typos 2013-07-16 01:04:41 +02:00
Xiang Li
00d2d6eb4e gofmt 2013-07-12 08:56:10 -07:00
Xiang Li
89bacedf3e change https bool to scheme string 2013-07-12 08:44:40 -07:00
Xiang Li
880cd71df5 add http timeout 2013-07-11 09:43:14 -07:00
Xiang Li
931afb9394 report network problem 2013-07-10 17:49:32 -07:00
Xiang Li
fad972304c gofmt 2013-07-09 14:58:59 -07:00
Xiang Li
5749b9db50 clean up transporter.go 2013-07-09 14:55:45 -07:00