Revision 21f5b885f2a7df2025faa79807de6117848d2015 authored by Yicheng Qin on 24 July 2015, 23:48:33 UTC, committed by Yicheng Qin on 06 August 2015, 22:44:26 UTC
The behavior accelarates the happen of the first-time leader election, so the cluster could elect its leader fast. Technically, it could help to reduce `electionMs - heartbeatMs` wait time for the first leader election. Main usage: 1. Quick start for the local cluster when setting a little longer election timeout 2. Quick start for the global cluster, which sets election timeout to its maximum 50s.
1 parent b407f72
File | Mode | Size |
---|---|---|
Documentation | ||
Godeps | ||
client | ||
discovery | ||
error | ||
etcdctl | ||
etcdmain | ||
etcdserver | ||
hack | ||
integration | ||
logos | ||
migrate | ||
pkg | ||
proxy | ||
raft | ||
rafthttp | ||
scripts | ||
snap | ||
storage | ||
store | ||
tools | ||
version | ||
wal | ||
.dockerignore | -rw-r--r-- | 5 bytes |
.gitignore | -rw-r--r-- | 107 bytes |
.godir | -rw-r--r-- | 23 bytes |
.header | -rw-r--r-- | 589 bytes |
.travis.yml | -rw-r--r-- | 119 bytes |
CONTRIBUTING.md | -rw-r--r-- | 2.1 KB |
DCO | -rw-r--r-- | 1.4 KB |
Dockerfile | -rw-r--r-- | 47 bytes |
LICENSE | -rw-r--r-- | 11.1 KB |
MAINTAINERS | -rw-r--r-- | 157 bytes |
NOTICE | -rw-r--r-- | 126 bytes |
Procfile | -rw-r--r-- | 1.3 KB |
README.md | -rw-r--r-- | 4.6 KB |
ROADMAP.md | -rw-r--r-- | 1.2 KB |
build | -rwxr-xr-x | 567 bytes |
cover | -rwxr-xr-x | 626 bytes |
main.go | -rw-r--r-- | 1.1 KB |
test | -rwxr-xr-x | 2.1 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...