Brian Waldon
f21d93ba60
client: define DefaultRequestTimeout
2014-10-24 13:28:04 -07:00
Brian Waldon
45d8fbdcda
client: move discovery path logic into client pkg
2014-10-24 13:28:04 -07:00
Brian Waldon
ce4df96e69
client: break apart KeysAPI from httpClient
2014-10-24 13:27:59 -07:00
Jonathan Boulle
341c7190d3
test: add govet to tests
2014-10-21 11:32:38 -07:00
Jonathan Boulle
b3d5333cb3
*: fix various formatting issues
2014-10-20 17:55:18 -07:00
Jonathan Boulle
7a4d42166b
*: add license header to all source files
2014-10-17 15:41:22 -07:00
Jonathan Boulle
e0801360d3
godep: update clockwork dependency
2014-10-17 10:05:29 -07:00
Jonathan Boulle
47c2421f7b
godeps: add clockwork
2014-10-17 10:05:29 -07:00
Jonathan Boulle
de3bf58876
discovery: switch to fake clock
2014-10-17 10:05:29 -07:00
Jonathan Boulle
7f8f371b0e
discovery: add ability to proxy discovery requests
2014-10-16 11:15:04 -07:00
Barak Michener
74ab003e1f
Merge pull request #1256 from barakmich/retry
...
Add logging and backoff and simple retry logic
2014-10-09 13:24:14 -04:00
Barak Michener
5e7267a751
last comment
2014-10-09 13:16:45 -04:00
Xiang Li
8bbbaa88b2
*: raft related int64 -> uint64
2014-10-09 14:29:21 +08:00
Barak Michener
5fde52a403
add too many retries test case
2014-10-08 21:58:19 -04:00
Barak Michener
9b35ca3a52
simplify and multiple retry
2014-10-08 21:53:15 -04:00
Barak Michener
dbac2e8f15
test retry logic
2014-10-08 19:41:59 -04:00
Barak Michener
f3870598b9
fix retry to not retry on createSelf()
2014-10-07 21:20:45 -04:00
Barak Michener
ca1bbee737
add logging and backoff and simple retry logic
2014-10-07 16:58:58 -04:00
Xiang Li
9e3d045b2b
*:discovery hook up
2014-10-06 10:12:42 -07:00
Xiang Li
08ebb05335
discovery: add a overfull case for waitNodes
2014-09-22 19:51:31 -07:00
Xiang Li
fdfaf07c46
discovery: address comments
2014-09-22 19:51:31 -07:00
Xiang Li
a35df0ad7c
discovery: remove redundant comment for createSelf
2014-09-22 19:51:31 -07:00
Xiang Li
17068c5110
discovery: key config -> key _config
2014-09-22 19:51:31 -07:00
Xiang Li
6081311db5
discovery: store size inside /[cluster]/config
2014-09-22 19:51:31 -07:00
Xiang Li
00d1daaf1e
discovery: add tests for sortableNodes
2014-09-22 19:51:31 -07:00
Xiang Li
2fd5a9863b
discovery: add d.selfKey()
2014-09-22 19:51:31 -07:00
Xiang Li
b8eb21c027
discovery: add fast path
2014-09-22 19:51:31 -07:00
Xiang Li
2b623cf0fa
discovery: init commit
2014-09-22 19:51:31 -07:00
Yicheng Qin
93104f114e
all: discovery moved to etcd/ yet
2014-09-03 09:19:57 -07:00
Yicheng Qin
6516cf854c
chore(server): rename daemon to startRoutine
...
For better understanding.
2014-05-07 07:51:44 -07:00
Yicheng Qin
e55512f60b
fix(peer_server): graceful stop for peer server run
...
Peer server will be started and stopped repeatedly in the design.
This step ensures its stop doesn't affect the next start.
The patch includes goroutine stop and timer trigger remove.
2014-05-07 07:43:27 -07:00
Yicheng Qin
dbaa2cbdee
chore(discovery): adjust error message
2014-04-04 12:59:22 -07:00
Brandon Philips
cbdf4a738c
fix(discovery): use prevExist instead of prevValue=init
...
Use PUT /_state?prevExist=true in the protocol instead of PUT
/_state?prevValue=init. This lets people point one vanilla etcd at the
key prefix of another vanilla etcd and have it just work.
2014-02-05 15:14:57 -08:00
Brandon Philips
8687dd3802
feat(discovery): fully working discovery now
2014-02-05 09:27:39 -08:00
Brandon Philips
72514f8ab2
feat(bootstrap): initial working code
...
This is an initial version of the bootstrap code that seems to work
under the normal circumstances. I need to mock out a server that will
test out all of the error cases now.
2014-02-05 09:27:39 -08:00