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

sqlliveness/slinstance: fix data race #69290

Merged
merged 1 commit into from
Aug 24, 2021

Conversation

ajwerner
Copy link
Contributor

The Session implementation did not use a mutex around its expiration. That
meant that when the expiration was updated, a data race occurred.

Fixes #69266.

Release justification: bug fixes and low-risk updates to new functionality

Release note: None

@ajwerner ajwerner requested a review from rimadeodhar August 24, 2021 11:32
@cockroach-teamcity
Copy link
Member

This change is Reviewable

The Session implementation did not use a mutex around its expiration. That
meant that when the expiration was updated, a data race occurred.

Fixes cockroachdb#69266.

Release justification: bug fixes and low-risk updates to new functionality

Release note: None
@ajwerner
Copy link
Contributor Author

TFTR!

bors r+

@craig
Copy link
Contributor

craig bot commented Aug 24, 2021

Build succeeded:

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: CI is reporting a sqliveness data race
3 participants