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

Issue 44092: Deadlock between DatasetDomainKind.updateDomain() and afterLoadTable() #2673

Merged

Conversation

labkey-jeckels
Copy link
Contributor

Rationale

Servers under load can deadlock when a dataset's domain is updated while other requests are actively using the same dataset

Changes

  • Acquire Java lock object before starting the transaction that locks the domain and property tables in the DB

@labkey-jeckels labkey-jeckels requested a review from a team October 7, 2021 23:59
@labkey-jeckels labkey-jeckels merged commit 81a62cd into release21.3-SNAPSHOT Oct 8, 2021
@labkey-jeckels labkey-jeckels deleted the 21.3_fb_44092_domainUpdateDeadlock branch October 8, 2021 17:26
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.

None yet

2 participants