Xiang Li
|
dc3844a1f8
|
add testAndSet Command
|
2013-07-08 11:00:10 -07:00 |
|
Xiang Li
|
e2f0420862
|
change imports to coreos/etcd coreos/go-raft; change API to work with new go-raft
|
2013-07-08 09:41:04 -07:00 |
|
Xiang Li
|
631d24791d
|
back to 307
|
2013-07-06 15:54:21 -07:00 |
|
Xiang Li
|
8244113a3e
|
change 302 back to 307.
|
2013-07-06 10:21:39 -07:00 |
|
Xiang Li
|
f878399992
|
change redirect code for 307 to 302 to make go http client to redirect post
|
2013-07-05 17:36:41 -07:00 |
|
Xiang Li
|
93c96b3813
|
add list feature
|
2013-07-05 16:22:45 -07:00 |
|
Xiang Li
|
ab285a90bb
|
using go http lib to parse post body
|
2013-07-01 11:16:30 -07:00 |
|
Xiang Li
|
f6b3d8a2af
|
during the leader election, return error to client
|
2013-06-30 21:17:51 -07:00 |
|
Xiang Li
|
e211554b91
|
watch accept sinceIndex
|
2013-06-30 16:30:41 -07:00 |
|
Xiang Li
|
c2f436a58b
|
fix redirect after seprate client and server pot
|
2013-06-28 15:37:29 -07:00 |
|
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
|
e4eb808434
|
change command api to support expiration feature
|
2013-06-16 15:07:45 -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
|
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 |
|