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

roachtest: mvcc_gc disable lease rebalancing for stability #98287

Merged
merged 1 commit into from
Mar 10, 2023

Conversation

aliher1911
Copy link
Contributor

@aliher1911 aliher1911 commented Mar 9, 2023

Test sometimes flakes if lease is moved from under GC and cleanup is not performed in time. This commit disables rebalance as it is not required to test GC functionality.
This commit also improves reliability of test by preventing a race between workload stop and table data deletion which could cause test to fail if workload doesn't terminate before clear range is performed.

Release note: None

Fixes #97340

@aliher1911 aliher1911 self-assigned this Mar 9, 2023
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@aliher1911 aliher1911 requested a review from a team March 9, 2023 11:29
@aliher1911 aliher1911 marked this pull request as ready for review March 9, 2023 11:29
@aliher1911 aliher1911 requested a review from a team as a code owner March 9, 2023 11:29
@aliher1911 aliher1911 requested review from herkolategan and srosenberg and removed request for a team March 9, 2023 11:29
@aliher1911 aliher1911 marked this pull request as draft March 9, 2023 11:42
@aliher1911 aliher1911 force-pushed the roachtest_mvcc_gc_lease_move branch 2 times, most recently from 9b69644 to 2cf841a Compare March 9, 2023 20:10
@aliher1911 aliher1911 marked this pull request as ready for review March 9, 2023 20:11
Test sometimes flakes if lease is moved from under GC and cleanup is
not performed in time. This commit disables rebalance as it is not
required to test GC functionality.
This commit also improves reliability of test by preventing a race
between workload stop and table data deletion which could cause
test to fail if workload doesn't terminate before clear range is
performed.

Release note: None
@aliher1911 aliher1911 force-pushed the roachtest_mvcc_gc_lease_move branch from 2cf841a to 27f5166 Compare March 10, 2023 10:16
@aliher1911
Copy link
Contributor Author

bors r=erikgrinaker

@craig
Copy link
Contributor

craig bot commented Mar 10, 2023

Build failed:

@aliher1911
Copy link
Contributor Author

bors r=erikgrinaker

@craig
Copy link
Contributor

craig bot commented Mar 10, 2023

Build succeeded:

@craig craig bot merged commit d336a62 into cockroachdb:master Mar 10, 2023
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

Successfully merging this pull request may close these issues.

roachtest: mvcc_gc failed
3 participants