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: override StmtTimeout to 0 for background jobs
For background jobs and schema changes, our Internal Executor inherits from cluster settings. If a statement timeout is set cluster-wide, then background jobs will respect this -- which does not make much sense; thus, this patch overrides the StmtTimeout to 0s for background jobs. Fixes: cockroachdb#126261 Release note (bug fix): Background jobs no longer respect a statement timeout.
- Loading branch information
Showing
2 changed files
with
35 additions
and
0 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