d3471eec7f
separate_id
2013-08-09 21:06:16 -07:00
eadced5dc8
Merge branch 'separate-id' of https://github.com/philips/etcd into separate_id
2013-08-09 17:16:35 -07:00
a19048841f
feat(trasnport): add an independent node name
...
Don't let the raft algorithm know anything about the transport. Give it
a nodename instead. This will allow us to support more complex
networking setups in the future.
2013-08-09 17:09:57 -07:00
c39f7712f7
fix test
2013-08-06 23:28:59 -07:00
e5aa6256f0
Merge https://github.com/coreos/etcd
2013-08-06 19:57:03 -07:00
51ae55edff
fix(client_handlers): re-add etcd name to banner
...
this was removed in the version shuffle.
2013-08-06 17:13:29 -07:00
b6378dae51
use go's syntax
2013-08-06 16:47:57 -07:00
0de2eff583
use switch
2013-08-06 16:41:00 -07:00
d0e9449ba2
use url package to parse url; fix commented codes
2013-08-06 09:08:22 -07:00
66f4e0aa19
clear watchers before recover from a snapshot
2013-08-03 23:29:05 -07:00
8f551e3dc1
fix wrong error
2013-08-03 22:56:39 -07:00
67b66f75e0
in this case, err should be nil. avoid dereference
2013-08-02 20:19:16 -07:00
0ebd133a0d
support version and basic stats
2013-08-02 12:31:35 -07:00
13af54fdd0
revise log handling
...
All the log-related operations are calling functions in util.go. This makes
the consistancy of the logs.
2013-08-01 23:28:03 +02:00
aa3f0b3a2a
change 404 not found to json error
2013-07-31 20:35:14 -07:00
79966b6550
Accept maxsize parameter. Deny further join request if reache max size
2013-07-31 11:05:12 -07:00
612fcf120e
check keywords before set/testandset
2013-07-31 10:10:00 -07:00
d2382c232e
not hardcode debug scheme
2013-07-20 16:29:27 -07:00
58501151da
change snapshot api due to the change in go-raft
2013-07-16 18:03:21 -07:00
fd1d908e79
fix typos
2013-07-16 01:04:41 +02:00
8309c235d9
combine set and testandset command
2013-07-14 16:19:30 -07:00
268ba2592a
record machine info locally via join command
2013-07-14 11:45:35 -07:00
76ef446baf
add machinesHttpHandler
2013-07-13 19:13:07 -07:00
9dc51d0412
fix can change the value of a dir bug
2013-07-12 16:36:21 -07:00
bff9321aa2
merge get and list operation
2013-07-12 16:04:00 -07:00
0b6428edba
add addition msg
2013-07-12 13:38:45 -07:00
0aa70e125c
create error map
2013-07-12 13:35:43 -07:00
8fe8711d8d
return json format error
2013-07-12 10:42:07 -07:00
4b9b5d8069
merge get and list
2013-07-12 10:10:56 -07:00
a131632d3d
error handling
2013-07-12 08:41:28 -07:00
45af72c941
redirect join to server port
2013-07-10 20:00:05 -07:00
5271da3d19
gofmt
2013-07-09 17:31:24 -07:00
a3173bfd31
sepearte raft handlers and client handlers to two files and clean up related codes
2013-07-09 17:29:47 -07:00