forked from yugabyte/yugabyte-db
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PLAT-13802]: Add a field to allow bootstrap on whole universe when o…
…nly few tables requires bootstrap Summary: Added a boolean field in Bootstarp params to allow bootstrap on the whole universe when only a few tables require bootstrap. `Note`: We need to remove the stream of tables that are already part of database during backup/restore while editing xcluster config but they are added back after restore. Test Plan: Added UT. Manual Test: Create a replication with 5 tables in a ysql database and later remove them. 2 tables and insert some data in them so that they require bootstrap. So, while editing tables and adding again 2 new tables in the replication, passed only the new 2 tables in bootstrap require and passed allowBootstrap as true which allow YBA to perform backup/restore on the whole database, and finally set replication with the requested tables. Reviewers: hzare, #yba-api-review, sanketh, cwang Reviewed By: hzare, #yba-api-review Subscribers: dkumar, cwang, yugaware Differential Revision: https://phorge.dev.yugabyte.com/D34786
- Loading branch information
Showing
7 changed files
with
248 additions
and
30 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.