Yicheng Qin
|
c952e91c4f
|
server: add discovery
|
2014-09-03 09:19:57 -07:00 |
|
Xiang Li
|
2665cc1cc8
|
raft: heartbeat should not contain entries
|
2014-09-03 09:19:57 -07:00 |
|
Yicheng Qin
|
7aa9838d8d
|
server: move TestModeChange to functional tests
|
2014-09-03 09:19:57 -07:00 |
|
Xiang Li
|
0c26c0bfab
|
etcd: add a simple endtoend benchmark
|
2014-09-03 09:19:57 -07:00 |
|
Xiang Li
|
1be8550672
|
etcd: refactor waitCluster
|
2014-09-03 09:19:57 -07:00 |
|
Xiang Li
|
061fad12a9
|
main: do not pass id to etcd
|
2014-09-03 09:19:57 -07:00 |
|
Xiang Li
|
30099d9135
|
etcd: generate a id for the new participant after a mode switch
|
2014-09-03 09:19:57 -07:00 |
|
Xiang Li
|
8111930981
|
etcd: standby does not need to send join
|
2014-09-03 09:19:57 -07:00 |
|
Xiang Li
|
155bd09902
|
etcd: add clusterid to participant
|
2014-09-03 09:19:56 -07:00 |
|
Xiang Li
|
13ec81c87f
|
raft: fix panic in putVarint; varint can take up to 10 bytes for a 64bit integer.
|
2014-09-03 09:19:56 -07:00 |
|
Xiang Li
|
bb328d5aa5
|
etcd: fix standby test
|
2014-09-03 09:19:56 -07:00 |
|
Xiang Li
|
468c345e74
|
etcd: standby should not be in a tight loop
|
2014-09-03 09:19:56 -07:00 |
|
Xiang Li
|
060de128a7
|
raft: add clusterId
|
2014-09-03 09:19:56 -07:00 |
|
Yicheng Qin
|
9793c518ab
|
raft: forbid to use none as id
|
2014-09-03 09:19:56 -07:00 |
|
Yicheng Qin
|
79689872af
|
raft: use From field to distinguish local message
|
2014-09-03 09:19:56 -07:00 |
|
Xiang Li
|
daa49023cf
|
etcd: remove nodes in standby
|
2014-09-03 09:19:56 -07:00 |
|
Yicheng Qin
|
b4cf146a52
|
server: notice 2013 -> 2014
|
2014-09-03 09:19:56 -07:00 |
|
Yicheng Qin
|
0429fe04df
|
server: add notice comment to all files
|
2014-09-03 09:19:56 -07:00 |
|
Xiang Li
|
5bfaaa7964
|
etcd: fix serverHttp
|
2014-09-03 09:19:56 -07:00 |
|
Yicheng Qin
|
0b77b42cad
|
standby: fix leader var race
|
2014-09-03 09:19:55 -07:00 |
|
Yicheng Qin
|
92778afd0b
|
server: retry remove in TestBecomeStandby
To prevent from false error message.
|
2014-09-03 09:19:55 -07:00 |
|
Xiang Li
|
2f51735e8a
|
etcd: move raftprefix to raft_handler
|
2014-09-03 09:19:55 -07:00 |
|
Xiang Li
|
7e7cfb1ce8
|
etcd: remove participant.seeds
|
2014-09-03 09:19:55 -07:00 |
|
Xiang Li
|
9ffc0b9f2c
|
etcd: remove unncessary code in participant
|
2014-09-03 09:19:55 -07:00 |
|
Xiang Li
|
2e59635bea
|
etcd: fix a race in peer.go
|
2014-09-03 09:19:55 -07:00 |
|
Yicheng Qin
|
6dc49def25
|
server: move var noneId to standby.go
|
2014-09-03 09:19:55 -07:00 |
|
Yicheng Qin
|
d120962959
|
server: remove func barrier
It could be replaced by func watch.
|
2014-09-03 09:19:55 -07:00 |
|
Yicheng Qin
|
1c9928d721
|
participant: retry join more times
|
2014-09-03 09:19:55 -07:00 |
|
Yicheng Qin
|
e709f1b572
|
server: fix possible race when switching mode
|
2014-09-03 09:19:55 -07:00 |
|
Yicheng Qin
|
6059db1f4b
|
participant: stop http serving when stopped
|
2014-09-03 09:19:55 -07:00 |
|
Yicheng Qin
|
6d46fc39aa
|
server: remove modeC var
|
2014-09-03 09:19:55 -07:00 |
|
Xiang Li
|
5d498918bf
|
etcd: abstract out mode change logic
|
2014-09-03 09:19:54 -07:00 |
|
Xiang Li
|
4c324fe3a4
|
etcd: cleanup etcd.go
|
2014-09-03 09:19:54 -07:00 |
|
Yicheng Qin
|
6d81aabd48
|
server: refactor server
|
2014-09-03 09:19:54 -07:00 |
|
Xiang Li
|
447f6a16cc
|
etcd: stop peerhub
|
2014-09-03 09:19:54 -07:00 |
|
Xiang Li
|
d198173fd7
|
etcd: cleanup peerhub
|
2014-09-03 09:19:54 -07:00 |
|
Yicheng Qin
|
92cc288f6e
|
server: fix possible join back in TestRemove
|
2014-09-03 09:19:54 -07:00 |
|
Xiang Li
|
e02baf33c9
|
etcd: unknowNode -> unknownPeer
|
2014-09-03 09:19:54 -07:00 |
|
Xiang Li
|
e0e8495ace
|
etcd: move fetch logic into peerhub
|
2014-09-03 09:19:54 -07:00 |
|
Xiang Li
|
9756dba57a
|
etcd: fix cluster sync
|
2014-09-03 09:19:53 -07:00 |
|
Yicheng Qin
|
9746de91bf
|
server: clean new func
|
2014-09-03 09:19:53 -07:00 |
|
Yicheng Qin
|
46974ef473
|
server: add stop serving func to v2_client
|
2014-09-03 09:19:53 -07:00 |
|
Yicheng Qin
|
7bf3e062bd
|
server: fix standby waitgroup on doing requests
|
2014-09-03 09:19:53 -07:00 |
|
Xiang Li
|
6f481af383
|
etcd: clean up sync
|
2014-09-03 09:19:53 -07:00 |
|
Xiang Li
|
a922947bb0
|
etcd: move s.setClusterConfig to v2_admin.go
|
2014-09-03 09:19:53 -07:00 |
|
Xiang Li
|
a50857d38a
|
etcd: move s.ClusterConfig to v2_admin.go
|
2014-09-03 09:19:53 -07:00 |
|
Xiang Li
|
da19964959
|
etcd: fix mode change race
|
2014-09-03 09:19:53 -07:00 |
|
Xiang Li
|
8ea840c19a
|
store: fix index data race
|
2014-09-03 09:19:53 -07:00 |
|
Xiang Li
|
7adb765660
|
etcd: fix datarace in peer.go
|
2014-09-03 09:19:53 -07:00 |
|
Xiang Li
|
b8b5734689
|
etcd: transporter->rafthandler
|
2014-09-03 09:19:53 -07:00 |
|