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.
128474: sql: enforce statement_timeout when waiting for jobs during commit r=fqazi a=fqazi Previously, when a schema change was executed with a statement timeout, the actual statement phase would have the timeout enforced. But the post commit phase which would in the user connection wait for the job would not respect this timeout. To address this, this patch enforces the statement timeout when waiting for jobs created in an implicit transaction. Fixes: cockroachdb#127558 Release note (bug fix): Enforce statement_timeout when waiting for jobs after a schema change in an implict txn. Co-authored-by: Faizan Qazi <[email protected]>
- Loading branch information
Showing
3 changed files
with
132 additions
and
3 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
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