Skip to content

Conversation

@BobdenOs
Copy link
Contributor

@BobdenOs BobdenOs commented Jun 26, 2025

When using FOR UPDATE with a WAIT provided. Once the lock acquire files the whole transaction is automatically rolled back. Which creates a disconnect between the cds.context.tx and the physical database connection. Only when the lock acquire error was caught inside the custom code. If the error is allowed to reach the outside of the transaction the current behavior will already cause the cds.context.tx to be properly rolled back.

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.

2 participants