Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix(enterprise/coderd): prevent deadlock during entitlements update#8215

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
mafredri merged 1 commit intomainfrommafredri/fix-coderd-entitlements-deadlock
Jun 26, 2023

Conversation

mafredri
Copy link
Member

Not sure if this only applies to the in-memory database, but we had a situation where we were read locking the entitlements mutex inside a database transaction, but unable to because we had already taken the write lock for updating entitlements... which were doing database requests that were blocked due to the transaction.

https://github.com/coder/coder/actions/runs/5380614126/jobs/9763591306?pr=8170

@mafredrimafredri changed the titlefix(enterprise/coderd): avoid deadlock during entitlements updatefix(enterprise/coderd): prevent deadlock during entitlements updateJun 26, 2023
@mafredrimafredri marked this pull request as ready for reviewJune 26, 2023 17:20
@mafredrimafredri merged commit31076ad intomainJun 26, 2023
@mafredrimafredri deleted the mafredri/fix-coderd-entitlements-deadlock branchJune 26, 2023 17:22
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsJun 26, 2023
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@kylecarbskylecarbskylecarbs approved these changes

@EmyrkEmyrkAwaiting requested review from Emyrk

Assignees

@mafredrimafredri

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@mafredri@kylecarbs

[8]ページ先頭

©2009-2025 Movatter.jp