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

fix(db): race condition in Tx cached handles #6923

Merged
merged 1 commit into from
Mar 2, 2024

Conversation

DaniPopes
Copy link
Member

@DaniPopes DaniPopes commented Mar 1, 2024

Switch to once_cell for get_or_try_init since there is literally no way to get this API with std OnceSync

@mattsse mattsse added C-bug An unexpected or incorrect behavior A-db Related to the database labels Mar 1, 2024
@rkrasiuk rkrasiuk linked an issue Mar 2, 2024 that may be closed by this pull request
1 task
@rkrasiuk rkrasiuk added this pull request to the merge queue Mar 2, 2024
Merged via the queue into main with commit a79db0f Mar 2, 2024
29 checks passed
@rkrasiuk rkrasiuk deleted the dani/oncelock-not-very-locked branch March 2, 2024 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-db Related to the database C-bug An unexpected or incorrect behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cached db handles access may panic (call get_dbi on more than one thread)
3 participants