forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sql: prevent ROLLBACK TO SAVEPOINT under HIGH PRIORITY and DDL
See issue cockroachdb#46414 Because lease acquisition must operate at a high prio than schema changes, and SQL "HIGH PRIORITY" operates at the same prio as lease acquisition, we can't let ROLLBACK TO SAVEPOINT after schema change in HIGH PRIORITY txns. Release justification: fixes for high-priority or high-severity bugs in existing functionality Release note (sql change): ROLLBACK TO SAVEPOINT (for either regular savepoint or "restart savepoints" defined with `cockroach_restart`) causes a "feature not supported" error after a DDL statement in a HIGH PRIORITY transaction, in order to avoid a transaction deadlock. See issue cockroachdb#46414 for details.
- Loading branch information
Showing
2 changed files
with
144 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters