Do not remove server from peer list immediately #90
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
due to the issue as follows:
where S1 is the leader and S3 is going to leave.
the S3 peer info from the list.
RemovedFromCluster
will be missing,but S3 will step down itself after 2 timeout period.
of the last config is delivered to S3. Also we will have timeout
for it. If we fail to deliver the commit index, S3 will be just
force removed.