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

config: acquire write lock when overwriting the map #92606

Merged
merged 1 commit into from
Nov 29, 2022

Conversation

yuzefovich
Copy link
Member

Previously, by mistake we were acquiring a read lock even though we do write operations in PurgeZoneConfigCache.

Fixes: #92519.

Release note: None

Previously, by mistake we were acquiring a read lock even though we do
write operations in `PurgeZoneConfigCache`.

Release note: None
@yuzefovich yuzefovich requested a review from msirek November 28, 2022 19:33
@yuzefovich yuzefovich requested review from a team as code owners November 28, 2022 19:33
@yuzefovich
Copy link
Member Author

Also, Mark, it looks like #87391 wasn't backported, right?

Copy link
Collaborator

@mgartner mgartner left a comment

Choose a reason for hiding this comment

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

LGTM

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@yuzefovich
Copy link
Member Author

TFTR!

bors r+

@craig
Copy link
Contributor

craig bot commented Nov 28, 2022

Build failed (retrying...):

@craig
Copy link
Contributor

craig bot commented Nov 29, 2022

Build succeeded:

@craig craig bot merged commit 5632043 into cockroachdb:master Nov 29, 2022
@yuzefovich yuzefovich deleted the zone-config-cache branch November 29, 2022 01:45
Copy link
Contributor

@msirek msirek left a comment

Choose a reason for hiding this comment

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

Also, Mark, it looks like #87391 wasn't backported, right?

That's right.

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained

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.

sqlstats: data race in TestSQLStatsCompactionJobMarkedAsAutomatic
4 participants