Skip to content

Refactor BsRequest creation to reduce deadlock risk#19308

Open
rubhanazeem wants to merge 1 commit intoopenSUSE:masterfrom
rubhanazeem:rm-transation-req-create
Open

Refactor BsRequest creation to reduce deadlock risk#19308
rubhanazeem wants to merge 1 commit intoopenSUSE:masterfrom
rubhanazeem:rm-transation-req-create

Conversation

@rubhanazeem
Copy link
Member

@rubhanazeem rubhanazeem commented Feb 18, 2026

This pr removes the outer transaction block to release write locks as soon as possible and moved the validation outside the transaction. This reduces database lock time hence reduces the possibility of Deadlock errors in request creation

Remove the outer transaction block to release write locks as soon as possible
and moved the validation outside the transaction. This reduces database
lock time hence reduces the possibility of Deadlock errors
@github-actions github-actions bot added the Frontend Things related to the OBS RoR app label Feb 18, 2026
@rubhanazeem rubhanazeem marked this pull request as ready for review February 18, 2026 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Frontend Things related to the OBS RoR app

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant