-
Notifications
You must be signed in to change notification settings - Fork 4.1k
kv: rollback to savepoint does not release locks acquired during sub-transaction #94731
Copy link
Copy link
Open
Labels
A-kv-transactionsRelating to MVCC and the transactional model.Relating to MVCC and the transactional model.A-sql-pgcompatSemantic compatibility with PostgreSQLSemantic compatibility with PostgreSQLC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)P-3Issues/test failures with no fix SLAIssues/test failures with no fix SLAT-kvKV TeamKV Team
Description
At the time of the original savepoint design, this was a deliberate decision. See the RFC.
We should reconsider it, especially if we plan to use savepoints internally to support per-statement retries.
Jira issue: CRDB-23106
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-kv-transactionsRelating to MVCC and the transactional model.Relating to MVCC and the transactional model.A-sql-pgcompatSemantic compatibility with PostgreSQLSemantic compatibility with PostgreSQLC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)P-3Issues/test failures with no fix SLAIssues/test failures with no fix SLAT-kvKV TeamKV Team