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

sql: disable strict gc ttl enforcement in schema changer test #105069

Merged

Conversation

rharding6373
Copy link
Collaborator

Before this change, the TestRaceWithBackfill test would add a zone config to force garbage collection to happen frequently, however this could cause a race between batch timestamps and garbage collection thresholds. This change adds a call to DisableGCTTLStrictEnforcement, which is supposed to be called before updating the zone config with AddImmediateGCZoneConfig for testing purposes.

Epic: None
Fixes: #104655

Release note: None

Before this change, the TestRaceWithBackfill test would add a zone
config to force garbage collection to happen frequently, however this
could cause a race between batch timestamps and garbage collection
thresholds. This change adds a call to `DisableGCTTLStrictEnforcement`,
which is supposed to be called before updating the zone config with
`AddImmediateGCZoneConfig` for testing purposes.

Epic: None
Fixes: cockroachdb#104655

Release note: None
@rharding6373 rharding6373 requested a review from a team as a code owner June 16, 2023 18:52
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@rharding6373 rharding6373 requested a review from rafiss June 16, 2023 20:15
@rharding6373
Copy link
Collaborator Author

Test failure is known issue #99770 unrelated to this PR.

Copy link
Collaborator

@rafiss rafiss left a comment

Choose a reason for hiding this comment

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

thanks!

@rharding6373
Copy link
Collaborator Author

TFTR!

bors r+

@craig
Copy link
Contributor

craig bot commented Jun 20, 2023

Build succeeded:

@craig craig bot merged commit 4e6dc2e into cockroachdb:master Jun 20, 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.

sql: TestRaceWithBackfill failed
3 participants