-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
backupccl: allow restore jobs to self pause on errors
Previously RESTORE jobs would automatically revert on failure. It may be advantageous from a debugging perspective to allow the job to pause at the exact moment of failure to identify the source of the errors. This patch adds a WITH option DEBUG_PAUSE_ON which allows the job to pause itself when it encounters the events described in this option. Currently the only value it can take is 'error', which allows jobs to self pause on errors. The job can then be RESUMEd after the error has been fixed, or CANCELed if the desired behavior is to rollback the job. Resolves #36887 Release note (enterprise change): Added new DEBUG_PAUSE_ON option to RESTORE jobs to allow for self pause on errors. Release justification: low-risk as it is opt-in debugging tool off by default.
- Loading branch information
Rui Hu
committed
Aug 31, 2021
1 parent
e946415
commit 1684499
Showing
9 changed files
with
574 additions
and
370 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
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
Oops, something went wrong.