-
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.
79976: backupccl: enable chaining of pts records for scheduled backups r=adityamaru a=adityamaru This change does a few things: 1) `schedules.backup.gc_protection.enabled` now defaults to true. 2) Previously, database and wildcard table scheduled backups were not allowed to perform chaining. With pts records now protecting schema objects, even if the target of the backup expands between two backups in a chain, the protection policy on the parent schema object will automatically apply to it. So now, all forms of scheduled backups can take advantage of chaining. 3) Added more tests to `schedule_pts_chaining.go`. 4) General spring cleaning of outdated comments, and assertions. Informs: #67282 Release note: None 80408: added st_makeenvelope builtin r=otan a=fredbi * fixes #80357 Release note (sql change): added builtin st_makeenvelope Signed-off-by: Frédéric BIDON <frederic@oneconcern.com> 80730: sql: add more tests for unknown database errors r=mgartner a=mgartner When connected to an non-existent database in versions 21.1 and prior, querying catalog tables resulted in an unknown database error code (`3D000`), but querying non-catalog tables resulted in an unknown table error code (`42P01`). In 21.2 we made the error codes the same for both cases (`3D000`). I couldn't find any tests that verified this behavior, so this commit adds them. Release note: None Co-authored-by: Aditya Maru <adityamaru@gmail.com> Co-authored-by: Frédéric BIDON <frederic@oneconcern.com> Co-authored-by: Marcus Gartner <marcus@cockroachlabs.com>
- Loading branch information
Showing
21 changed files
with
613 additions
and
312 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
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.