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

kvserver: deflake test merge queue #97086

Merged
merged 1 commit into from
Feb 14, 2023

Conversation

kvoli
Copy link
Collaborator

@kvoli kvoli commented Feb 13, 2023

Previously, it was possible for ranges to spuriously merge when not expected to in TestMergeQueue. Unexpected merging occurred due to the merge delay interval being shorter than the time between test statements

  • so that a merge could sneak when it shouldn't have. This was only realistically possible running --stress and with a slower deadlock build.

This commit updates the merge delay to be 1000 seconds, to avoid this situation occurring.

Informs: #97000

Release note: None

Previously, it was possible for ranges to spuriously merge when not
expected to in `TestMergeQueue`. Unexpected merging occurred due to the
merge delay interval being shorter than the time between test statements
- so that a merge could sneak when it shouldn't have. This was only
realistically possible running `--stress` and with a slower `deadlock`
build.

This commit updates the merge delay to be 1000 seconds, to avoid this
situation occurring.

Informs: cockroachdb#97000

Release note: None
@kvoli kvoli self-assigned this Feb 13, 2023
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@kvoli kvoli marked this pull request as ready for review February 14, 2023 00:37
@kvoli kvoli requested a review from a team as a code owner February 14, 2023 00:37
Copy link
Collaborator

@andrewbaptist andrewbaptist left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kvoli
Copy link
Collaborator Author

kvoli commented Feb 14, 2023

bors r=andrewbaptist

@craig
Copy link
Contributor

craig bot commented Feb 14, 2023

Build succeeded:

@craig craig bot merged commit 494b909 into cockroachdb:master Feb 14, 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.

None yet

3 participants