Xiang Li
|
547ad6ee3b
|
add func arg to traverse func
|
2013-07-03 15:35:25 -07:00 |
Xiang Li
|
4768b82b11
|
add traverse func and fix testing
|
2013-07-03 15:00:50 -07:00 |
Xiang Li
|
6e3379c3ef
|
treeStruct first commit
|
2013-07-03 12:57:23 -07:00 |
Xiang Li
|
6edce10980
|
close resp body, close snapshot
|
2013-07-03 11:22:52 -07:00 |
Xiang Li
|
c5901f4b88
|
tree store init commit
|
2013-07-02 18:09:54 -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
|
a2b44bf9b7
|
use map to store the results.
|
2013-06-30 10:09:05 -07:00 |
Xiang Li
|
b9a30986bb
|
fix checking wrong index in watcher.go
|
2013-06-29 22:20:18 -07:00 |
Xiang Li
|
56244a6d40
|
Merge pull request #2 from xiangli-cmu/addIndex
Add index
|
2013-06-29 15:36:11 -07:00 |
Xiang Li
|
047f8ab6a8
|
watch sinceindex works
|
2013-06-29 15:29:10 -07:00 |
Xiang Li
|
eef6f45e09
|
add ttl to response
|
2013-06-29 13:48:13 -07:00 |
Xiang Li
|
cff78e2e5e
|
keep index in the store
|
2013-06-29 13:13:51 -07:00 |
Xiang Li
|
5681e1a9d0
|
return command index
|
2013-06-29 12:49:05 -07:00 |
Xiang Li
|
c2f436a58b
|
fix redirect after seprate client and server pot
|
2013-06-28 15:37:29 -07:00 |
Xiang Li
|
430f5d50e3
|
add command line varible -i to ignore the existing configuration
|
2013-06-28 15:04:05 -07:00 |
Xiang Li
|
f67115b935
|
Allow different key,cert,CA for client and server communication
|
2013-06-28 14:46:05 -07:00 |
Xiang Li
|
e3d556c319
|
seprate client and server port
|
2013-06-28 14:17:16 -07:00 |
Xiang Li
|
337b1f73eb
|
add -d option to give the directory to store the log and snapshot
|
2013-06-28 11:47:47 -07:00 |
Xiang Li
|
f16f7275b4
|
rname raftd.go to etcd.go
|
2013-06-28 11:33:10 -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
|
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 |