Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

storage: stuck pre-candidate phase #18129

Closed
irfansharif opened this issue Sep 1, 2017 · 3 comments
Closed

storage: stuck pre-candidate phase #18129

irfansharif opened this issue Sep 1, 2017 · 3 comments

Comments

@irfansharif
Copy link
Contributor

As observed on blue and adriatic this week:

image
image

adriatic:
image
blue:
image

MsgPreVote{,Resp} counts with later rolling restarts. notably didn’t flatline at a non-zero count (did still end up getting stuck but for a seemingly different reason).
image

@bdarnell
Copy link
Contributor

bdarnell commented Sep 1, 2017

Note that in this screenshot with four replicas, the one in the pre-candidate state had been removed but not yet garbage collected. It's expected that a replica in such a state would be in pre-candidate (it would be in the candidate state if pre-vote were disabled), although it's not expected that it would stay this way for long without GC.

On adriatic, we saw many instances of this with only three replicas: one leader, one follower, and one pre-candidate. The pre-candidate node in this case was not far behind the others.

@irfansharif
Copy link
Contributor Author

+cc #18151.

@irfansharif
Copy link
Contributor Author

Closing in favor of #18151, +cc etcd-io/etcd#8501. See #18151 (comment):

This sufficiently explains #18129, [...] It aligns with the fact that problem ranges didn't always persist through chaos as with enough leadership changes, replicas stuck in the PreCandidate phase with higher terms were eventually overtaken by healthy replica pairs (with ever increasing terms).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants