-
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.
126531: sql: ensure truncate preserves zone configs r=fqazi a=annrpom Previously, we did not copy zone configs over from old indexes to new ones created during a truncate for pkeys. This was due to truncate re-using the same logic as our `PrimaryKeySwap` mutation. This patch adds an override in said logic to allow for zcs to be copied from old to new indexes. Epic: [CRDB-22729](https://cockroachlabs.atlassian.net/browse/CRDB-22729) Fixes: #94188 Release note (bug fix): Fixed bug where zone configs on pkeys disappeared during truncate. Co-authored-by: Annie Pompa <[email protected]>
- Loading branch information
Showing
3 changed files
with
95 additions
and
6 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