Yicheng Qin
e0fbe27c99
fix(join_command): use RaftURL as peer address
2014-04-18 10:28:24 -07:00
Yicheng Qin
0c95e1eabb
feat(peer_server): forbid rejoining with different name
...
Or it will confuse the cluster, especially the heartbeat between nodes.
2014-04-17 15:46:33 -07:00
Yicheng Qin
273c293645
fix(server): rejoin cluster with different ip
2014-04-17 10:16:30 -07:00
Yicheng Qin
67600603c5
chore: rename proxy mode to standby mode
...
It makes the name more reasonable.
2014-04-17 08:04:42 -07:00
Ben Johnson
174b9ff343
bump(github.com/goraft/raft): 6bf34b9
...
Move from coreos/raft to goraft/raft and update to latest.
2014-03-24 15:09:47 -07:00
Ben Johnson
7d4fda550d
Machine join/remove v2 API.
2014-03-18 16:25:21 -06:00
Ben Johnson
c91688315a
Minor fixes to proxies.
2014-03-07 07:38:40 -07:00
Ben Johnson
c3b4afc139
Fix JoinCommand comment.
2014-03-04 08:56:10 -07:00
Ben Johnson
c8d6b26dfd
Add auto-demotion after peer inactivity.
2014-03-03 11:15:05 -07:00
Ben Johnson
f5698d3566
Proxy promotion.
2014-02-24 17:01:04 -07:00
Ben Johnson
1d961b8e56
Add proxy mode.
2014-02-22 15:02:20 -07:00
Brandon Philips
13b6c1e684
chore(*): make everything use goven
...
for i in github.com/BurntSushi/toml github.com/coreos/go-etcd/etcd github.com/coreos/go-log/log github.com/gorilla/context github.com/rcrowley/go-metrics bitbucket.org/kardianos/osext github.com/coreos/go-systemd/journal github.com/coreos/raft code.google.com/p/goprotobuf/proto ; do goven -copy -rewrite $i; done
2014-02-01 23:44:18 -08:00
Brian Waldon
9c8a23c333
refactor(PeerServer): Use a config struct in PeerServer
2014-01-22 11:17:03 -08:00
Ben Johnson
a9e20aecc6
Raft fixes, integrate logging.
2013-12-29 10:40:10 -07:00
Xiang Li
8a0496cfae
bump deps
2013-11-22 08:59:24 -08:00
Ben Johnson
cba2611c68
Renamed configuration parameters.
2013-11-15 00:13:32 -05:00
Xiang Li
6156d5c790
refactor separate etcd index from raft index
2013-11-09 17:55:54 -08:00
Ben Johnson
aa9ae32998
Internal versioning.
2013-10-27 14:09:40 -06:00
Ben Johnson
e7598075ac
Use raft.Server interface.
2013-10-14 13:51:20 -06:00
Xiang Li
a635f6b17c
refactor remove the extra function
2013-10-13 22:13:20 -07:00
Ben Johnson
d44fd6661a
Fix registry cache issues.
2013-10-13 21:09:56 -06:00
Xiang Li
0c5808eeec
fix server/server.go accept name when creating a when server; gofmt
2013-10-13 10:44:40 -07:00
Ben Johnson
8670e1b7aa
Refactored.
2013-10-12 15:56:43 -06:00
Ben Johnson
bb9401544a
Intermediate commit.
2013-10-12 13:35:23 -06:00
Ben Johnson
eb78d96a20
Intermediate commit.
2013-10-12 00:28:46 -06:00
Ben Johnson
89334df5ae
Refactor commands.
2013-10-11 01:02:38 -06:00