Commit Graph

  • 337b1f73eb add -d option to give the directory to store the log and snapshot Xiang Li 2013-06-28 11:47:47 -07:00
  • f16f7275b4 rname raftd.go to etcd.go Xiang Li 2013-06-28 11:33:10 -07:00
  • df2945c521 use the origin scheme Xiang Li 2013-06-28 11:29:11 -07:00
  • fcb78ed5cb use 307 to redirect client Xiang Li 2013-06-28 11:26:17 -07:00
  • e91ea7be38 use xiangli-cmu/go-raft as the raft lib Xiang Li 2013-06-28 09:58:41 -07:00
  • c3bfe19ae9 fix a bug in set(update node need to create a new one, not get the pointer of the node) Xiang Li 2013-06-20 21:34:27 -07:00
  • 1228694383 change response HTTP header to StatusServiceUnavailable when the server is not leader Xiang Li 2013-06-20 17:46:12 -07:00
  • ef59a03fbb gofmt Xiang Li 2013-06-20 15:59:23 -07:00
  • 58e7b456bb redirect the join command and do not redirect other commands (let client does that) Xiang Li 2013-06-20 15:26:31 -07:00
  • 30da72623f add tls fetures Xiang Li 2013-06-19 21:03:28 -07:00
  • 74650431e9 fix a expiration bug Xiang Li 2013-06-18 15:04:30 -07:00
  • cc2608e9f8 add new files Xiang Li 2013-06-18 11:14:22 -07:00
  • 68884a7137 add web interface Xiang Li 2013-06-18 11:13:24 -07:00
  • 9ad8c85343 recovery check experiation Xiang Li 2013-06-16 15:51:00 -07:00
  • e4eb808434 change command api to support expiration feature Xiang Li 2013-06-16 15:07:45 -07:00
  • e832f143db add node expiration feature Xiang Li 2013-06-16 14:02:07 -07:00
  • 56f28f80b2 clean up the codes Xiang Li 2013-06-13 11:01:06 -07:00
  • 4b4a7c4976 add snapshot feature Xiang Li 2013-06-12 09:46:53 -07:00
  • acb66f3428 fix generate path (generate to slash) Xiang Li 2013-06-11 16:01:12 -07:00
  • 71c0ffec3a election new leader and rejoin works Xiang Li 2013-06-11 15:29:25 -07:00
  • fdd6873768 change mux to http, parse the url by handler Xiang Li 2013-06-10 15:09:01 -07:00
  • 2e679d257c add watch function and distinguish sensetive and non-sentive command Xiang Li 2013-06-10 14:05:49 -07:00
  • b9d789fb84 fix start as a follower(problem with election timeout) and join command Xiang Li 2013-06-09 21:46:30 -07:00
  • 4ff786b4a2 add delete handler Xiang Li 2013-06-09 11:12:32 -07:00
  • 69a8116272 make store system communicate with raft Xiang Li 2013-06-09 10:42:34 -07:00
  • e9ac8b1b98 add notification function to store module and add unit-test Xiang Li 2013-06-07 14:57:00 -07:00
  • f8ca35fd77 add notification struct Xiang Li 2013-06-07 11:35:49 -07:00
  • 1f57788f16 add basic watch implementation Xiang Li 2013-06-07 10:45:33 -07:00
  • 20ca21a3f7 store module and unit test for store 0 Xiang Li 2013-06-06 17:43:32 -07:00