Xiang Li
|
f16f7275b4
rname raftd.go to etcd.go
|
12 vuotta sitten |
Xiang Li
|
df2945c521
use the origin scheme
|
12 vuotta sitten |
Xiang Li
|
fcb78ed5cb
use 307 to redirect client
|
12 vuotta sitten |
Xiang Li
|
e91ea7be38
use xiangli-cmu/go-raft as the raft lib
|
12 vuotta sitten |
Xiang Li
|
c3bfe19ae9
fix a bug in set(update node need to create a new one, not get the pointer of the node)
|
12 vuotta sitten |
Xiang Li
|
1228694383
change response HTTP header to StatusServiceUnavailable when the server is not leader
|
12 vuotta sitten |
Xiang Li
|
ef59a03fbb
gofmt
|
12 vuotta sitten |
Xiang Li
|
58e7b456bb
redirect the join command and do not redirect other commands (let client does that)
|
12 vuotta sitten |
Xiang Li
|
30da72623f
add tls fetures
|
12 vuotta sitten |
Xiang Li
|
74650431e9
fix a expiration bug
|
12 vuotta sitten |
Xiang Li
|
cc2608e9f8
add new files
|
12 vuotta sitten |
Xiang Li
|
68884a7137
add web interface
|
12 vuotta sitten |
Xiang Li
|
9ad8c85343
recovery check experiation
|
12 vuotta sitten |
Xiang Li
|
e4eb808434
change command api to support expiration feature
|
12 vuotta sitten |
Xiang Li
|
e832f143db
add node expiration feature
|
12 vuotta sitten |
Xiang Li
|
56f28f80b2
clean up the codes
|
12 vuotta sitten |
Xiang Li
|
4b4a7c4976
add snapshot feature
|
12 vuotta sitten |
Xiang Li
|
acb66f3428
fix generate path (generate to slash)
|
12 vuotta sitten |
Xiang Li
|
71c0ffec3a
election new leader and rejoin works
|
12 vuotta sitten |
Xiang Li
|
fdd6873768
change mux to http, parse the url by handler
|
12 vuotta sitten |
Xiang Li
|
2e679d257c
add watch function and distinguish sensetive and non-sentive command
|
12 vuotta sitten |
Xiang Li
|
b9d789fb84
fix start as a follower(problem with election timeout) and join command
|
12 vuotta sitten |
Xiang Li
|
4ff786b4a2
add delete handler
|
12 vuotta sitten |
Xiang Li
|
69a8116272
make store system communicate with raft
|
12 vuotta sitten |
Xiang Li
|
e9ac8b1b98
add notification function to store module and add unit-test
|
12 vuotta sitten |
Xiang Li
|
f8ca35fd77
add notification struct
|
12 vuotta sitten |
Xiang Li
|
1f57788f16
add basic watch implementation
|
12 vuotta sitten |
Xiang Li
|
20ca21a3f7
store module and unit test for store
|
12 vuotta sitten |