Files
etcd/server
Yicheng Qin baadf63912 feat: implement standby mode
Change log:
1. PeerServer
- estimate initial mode from its log through removedInLog variable
- refactor FindCluster to return the estimation
- refactor Start to call FindCluster explicitly
- move raftServer start and cluster init from FindCluster to Start
- remove stopNotify from PeerServer because it is not used anymore
2. Etcd
- refactor Run logic to fit the specification
3. ClusterConfig
- rename promoteDelay to removeDelay for better naming
- add SyncClusterInterval field to ClusterConfig
- commit command to set default cluster config when cluster is created
- store cluster config info into key space for consistency
- reload cluster config when reboot
4. add StandbyServer
5. Error
- remove unused EcodePromoteError
2014-05-09 01:56:55 -07:00
..
2014-05-09 01:56:55 -07:00
2014-05-09 01:56:55 -07:00
2014-05-09 01:56:55 -07:00
2014-05-09 01:56:55 -07:00
2014-05-09 01:56:55 -07:00
2013-10-11 01:02:38 -06:00
2014-05-09 01:56:55 -07:00
2014-05-09 01:56:55 -07:00
2014-05-09 01:56:55 -07:00
2013-10-12 15:56:43 -06:00
2013-10-30 17:36:15 -07:00