Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
65015: backupccl: allow restoring into multi-region databases r=pbardea a=Elliebababa Previously, restoring a non-multi-region table in to multi-region database is not allowed. This patch unblocks restoring non-multi-region table into multi-region database and sets the table locality as regional by table to the primary region of the target database. Additionally, GLOBAL tables, REGIONAL BY TABLE IN PRIMARY REGION and REGIONAL BY TABLE IN <region> tables are also supported given that the <region> is compatible with the target database. Resolves #59804. Release note (enterprise change): RESTORE now supports restoring individual tables into a multi-region database. If the table being restored is also multi-region, REGIONAL BY ROW tables cannot be restored, and REGIONAL BY TABLE tables can only be restored if their localities match those of the database they're being restored into. Co-authored-by: elliebababa <ellie24.huang@gmail.com>
- Loading branch information
Showing
3 changed files
with
271 additions
and
15 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