Commit Graph

9 Commits (b8eb21c027037e22bda7741aa9a39c964ed65b5f)

Author SHA1 Message Date
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