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 49783: UserManager Optimistic Concurrency Exception #5278

Merged

Conversation

labkey-jeckels
Copy link
Contributor

Rationale

We generally want to reuse existing transactions for interactions with the same DB. Splitting related work across transactions via beginTransaction() can lead to self-deadlocking and other headaches.

Changes

  • Migrate some calls to ensureTransaction()
  • Add JavaDoc to give guidance

@labkey-jeckels labkey-jeckels merged commit d9a3d30 into release23.11-SNAPSHOT Feb 28, 2024
6 of 7 checks passed
@labkey-jeckels labkey-jeckels deleted the 23.11_fb_49783_userManagerTransaction branch February 28, 2024 22:31
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.

3 participants