-
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: de-flake TestRangefeedCheckpointsRecoverFromLeaseExpiration #75587
kvserver: de-flake TestRangefeedCheckpointsRecoverFromLeaseExpiration #75587
Conversation
We didn't account for a possibly stale distsender cache earlier, misrouting the LeaseInfo request to the last known leaseholder. By providing a hint with the new leaseholder, we were also making an assertion on cache freshness. We skip the hint and do just what the test wants -- ensuring a lease renewal. Repro-ed within seconds before this commit: dev test pkg/kv/kvserver \ -f TestRangefeedCheckpointsRecoverFromLeaseExpiration --stress Release note: None
352b0f7
to
071ecc5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: complete! 1 of 0 LGTMs obtained (waiting on @arulajmani and @nvanbenschoten)
Thanks! bors r+ |
Build failed (retrying...): |
Build failed (retrying...): |
Build failed: |
Unrelated failures (though my fault too: #75609). bors r+ |
Build failed (retrying...): |
Build succeeded: |
Fixes #75098.
We didn't account for a possibly stale distsender cache earlier,
misrouting the LeaseInfo request to the last known leaseholder. By
providing a hint with the new leaseholder, we were also making an
assertion on cache freshness. We skip the hint and do just what the test
wants -- ensuring a lease renewal. Repro-ed within seconds before this
commit:
Release note: None