-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
kvserver: lease transferred to uninitialized follower #61604
Comments
@nvanbenschoten are you aware of anything having changed around lease transfers? We need to know whether to classify #61541 as a release blocker. |
A decent amount has changed around lease transfers, but I don't think it would have affected this. As @aayushshah15 pointed out in #61541:
One thing to point out is that we recently made |
@andreimatei and I were quibbling about this and it seems like a worthwhile safeguard we can add on a leader is just to reject |
Looks like we had a much more aggressive version of this sort of safeguard that we removed entirely in this patch: #42379 |
Describe the problem
In #61541 (comment), we saw that a range with an uninitialized follower transferred the lease to that uninitialized follower, leading to the range becoming unavailable until the follower caught up. This indicates a hole in our safety mechanisms.
To Reproduce
Unclear, but the test in #61541 definitely achieved it.
Expected behavior
A clear and concise description of what you expected to happen.
Additional data / screenshots
Environment:
https://github.com/cockroachdb/cockroach/commits/b703e663da8ededaee2e28fc39a24e3880ae54cf
Additional context
It looks like aggressive changes in range size can lead to temporary (but substantial) unavailability.
gz#9425
The text was updated successfully, but these errors were encountered: