Xiang Li
|
e2f0420862
change imports to coreos/etcd coreos/go-raft; change API to work with new go-raft
|
12 years ago |
Xiang Li
|
631d24791d
back to 307
|
12 years ago |
Xiang Li
|
8244113a3e
change 302 back to 307.
|
12 years ago |
Xiang Li
|
f878399992
change redirect code for 307 to 302 to make go http client to redirect post
|
12 years ago |
Xiang Li
|
93c96b3813
add list feature
|
12 years ago |
Xiang Li
|
ab285a90bb
using go http lib to parse post body
|
12 years ago |
Xiang Li
|
f6b3d8a2af
during the leader election, return error to client
|
12 years ago |
Xiang Li
|
e211554b91
watch accept sinceIndex
|
12 years ago |
Xiang Li
|
c2f436a58b
fix redirect after seprate client and server pot
|
12 years ago |
Xiang Li
|
df2945c521
use the origin scheme
|
12 years ago |
Xiang Li
|
fcb78ed5cb
use 307 to redirect client
|
12 years ago |
Xiang Li
|
e91ea7be38
use xiangli-cmu/go-raft as the raft lib
|
12 years ago |
Xiang Li
|
c3bfe19ae9
fix a bug in set(update node need to create a new one, not get the pointer of the node)
|
12 years ago |
Xiang Li
|
1228694383
change response HTTP header to StatusServiceUnavailable when the server is not leader
|
12 years ago |
Xiang Li
|
ef59a03fbb
gofmt
|
12 years ago |
Xiang Li
|
58e7b456bb
redirect the join command and do not redirect other commands (let client does that)
|
12 years ago |
Xiang Li
|
30da72623f
add tls fetures
|
12 years ago |
Xiang Li
|
e4eb808434
change command api to support expiration feature
|
12 years ago |
Xiang Li
|
56f28f80b2
clean up the codes
|
12 years ago |
Xiang Li
|
4b4a7c4976
add snapshot feature
|
12 years ago |
Xiang Li
|
71c0ffec3a
election new leader and rejoin works
|
12 years ago |
Xiang Li
|
fdd6873768
change mux to http, parse the url by handler
|
12 years ago |
Xiang Li
|
2e679d257c
add watch function and distinguish sensetive and non-sentive command
|
12 years ago |
Xiang Li
|
b9d789fb84
fix start as a follower(problem with election timeout) and join command
|
12 years ago |
Xiang Li
|
4ff786b4a2
add delete handler
|
12 years ago |
Xiang Li
|
69a8116272
make store system communicate with raft
|
12 years ago |