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

sqlccl: fix a data race in TestTenantTempTableCleanup #111054

Merged
merged 2 commits into from
Sep 22, 2023

Conversation

knz
Copy link
Contributor

@knz knz commented Sep 21, 2023

Fixes #111028.
Epic: CRDB-6671

Release note: None

@knz knz requested a review from a team as a code owner September 21, 2023 15:44
@knz knz requested review from DrewKimball and removed request for a team September 21, 2023 15:44
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@knz knz requested a review from yuzefovich September 21, 2023 15:44
Prior to this patch, if a test incorrectly shared a `cluster.Settings`
object across servers, there was a chance the error would pop up as a
race condition. We really want this to pop up as an error instead.

This patch ensures that the race detector is always happy so a clean
error is always reported in misuses.

Release note: None
Copy link
Member

@yuzefovich yuzefovich left a comment

Choose a reason for hiding this comment

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

:lgtm: Thanks!

Reviewed 1 of 1 files at r1, 1 of 1 files at r2, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @DrewKimball)

@knz
Copy link
Contributor Author

knz commented Sep 21, 2023

TFYR!

bors r=yuzefovich

@yuzefovich
Copy link
Member

Looks like bors crashed.

bors r=yuzefovich

@craig
Copy link
Contributor

craig bot commented Sep 22, 2023

Build succeeded:

@craig craig bot merged commit 6a2097e into cockroachdb:master Sep 22, 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.

pkg/ccl/testccl/sqlccl/sqlccl_test: TestTenantTempTableCleanup failed
3 participants