Commit Graph

14377 Commits (a6ddb51c8a3a470368069319fcdba8f10a1a4ced)

Author SHA1 Message Date
Xiang Li df2945c521 use the origin scheme 2013-06-28 11:29:11 -07:00
Xiang Li fcb78ed5cb use 307 to redirect client 2013-06-28 11:26:17 -07:00
Xiang Li e91ea7be38 use xiangli-cmu/go-raft as the raft lib 2013-06-28 09:58:41 -07:00
Xiang Li c3bfe19ae9 fix a bug in set(update node need to create a new one, not get the pointer of the node) 2013-06-20 21:34:27 -07:00
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 cc2608e9f8 add new files 2013-06-18 11:14:22 -07:00
Xiang Li 68884a7137 add web interface 2013-06-18 11:13:24 -07:00
Xiang Li 9ad8c85343 recovery check experiation 2013-06-16 15:51:00 -07:00
Xiang Li e4eb808434 change command api to support expiration feature 2013-06-16 15:07:45 -07:00
Xiang Li e832f143db add node expiration feature 2013-06-16 14:02:07 -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
Xiang Li e9ac8b1b98 add notification function to store module and add unit-test 2013-06-07 14:57:00 -07:00
Xiang Li f8ca35fd77 add notification struct 2013-06-07 11:35:49 -07:00
Xiang Li 1f57788f16 add basic watch implementation 2013-06-07 10:45:33 -07:00
Xiang Li 20ca21a3f7 store module and unit test for store 2013-06-06 17:43:32 -07:00