-
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.
69204: jobs, backupccl: DROP SCHEDULE clears DependentID and releases PTS r=miretskiy a=adityamaru jobs, backupccl: DROP SCHEDULE clears DependentID and releases PTS This change teaches `DROP SCHEDULE` to clear the dependent ID linkage from the dependent schedule. It also releases the protected timestamp (if any) on the schedule being dropped. This pts would have been written if chaining of pts was enabled. Release note: None backupccl: fix SHOW CREATE SCHEDULE options In the previous commit `DROP SCHEDULE` wipes the dependent ID linkage. `SHOW CREATE SCHEDULE` on an incremental schedule whose dependent full schedule has been dropped will now print a `CREATE SCHEDULE` statement with the full backup recurrence cleared. This means that if the user were to copy paste the command, we would choose a full backup recurrence based on the incremental recurrence. This commit also fixes the schedule options that are printed as the output of `SHOW CREATE SCHEDULE`. Previously, these would be printed as the string representations of the enum values, but this was not round-trippable. Informs: #69129 Release note: None Co-authored-by: Aditya Maru <[email protected]>
- Loading branch information
Showing
8 changed files
with
270 additions
and
44 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
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.