15 Commits

Author SHA1 Message Date
Xiang Li
1228694383 change response HTTP header to StatusServiceUnavailable when the server is not leader 2013-06-20 17:46:12 -07:00
Xiang Li
ef59a03fbb gofmt 2013-06-20 15:59:23 -07:00
Xiang Li
58e7b456bb redirect the join command and do not redirect other commands (let client does that) 2013-06-20 15:26:31 -07:00
Xiang Li
30da72623f add tls fetures 2013-06-19 21:03:28 -07:00
Xiang Li
74650431e9 fix a expiration bug 2013-06-18 15:04:30 -07:00
Xiang Li
68884a7137 add web interface 2013-06-18 11:13:24 -07:00
Xiang Li
56f28f80b2 clean up the codes 2013-06-13 11:01:06 -07:00
Xiang Li
4b4a7c4976 add snapshot feature 2013-06-12 09:46:53 -07:00
Xiang Li
acb66f3428 fix generate path (generate to slash) 2013-06-11 16:01:12 -07:00
Xiang Li
71c0ffec3a election new leader and rejoin works 2013-06-11 15:29:25 -07:00
Xiang Li
fdd6873768 change mux to http, parse the url by handler 2013-06-10 15:09:01 -07:00
Xiang Li
2e679d257c add watch function and distinguish sensetive and non-sentive command 2013-06-10 14:05:49 -07:00
Xiang Li
b9d789fb84 fix start as a follower(problem with election timeout) and join command 2013-06-09 21:46:30 -07:00
Xiang Li
4ff786b4a2 add delete handler 2013-06-09 11:12:32 -07:00
Xiang Li
69a8116272 make store system communicate with raft 2013-06-09 10:42:34 -07:00