-
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
release-22.2: kvserver: deflake lease preferences during outage #108361
Conversation
ab78d10
to
1c6c29d
Compare
Thanks for opening a backport. Please check the backport criteria before merging:
If some of the basic criteria cannot be satisfied, ensure that the exceptional criteria are satisfied within.
Add a brief release justification to the body of your PR to justify this backport. Some other things to consider:
|
5a4d33e
to
c84b728
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.
LGTM once we fix the non-existant setting.
Previously, it was possible for a soon to be dead replica, to acquire the range lease in the `TestLeasePreferencesDuringOutage` test. The acquired lease would be expiration based, disallowing the intended leaseholder from acquiring the lease. This patch disables expiration based lease transfers, deflaking the test. Resolves: #105101 Epic: none Release note: None
c84b728
to
e5d92dd
Compare
Done TYFTR! |
Backport 1/1 commits from #108333 on behalf of @kvoli.
/cc @cockroachdb/release
This PR is intended to be backported to
release-22.2
.TestLeasePreferencesDuringOutage
is currently skipped on master.Stressed for 30 mins without failure on release-22.2.
Previously, it was possible for a soon-to-be dead replica, to acquire the range lease in the
TestLeasePreferencesDuringOutage
test. The acquired lease would be expiration based, disallowing the intended leaseholder from acquiring the lease.This patch disables expiration based lease transfers, deflaking the test.
Resolves: #105101
Epic: none
Release note: None
Release justification: Test only change.