Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#21540] xCluster: Add Repair APIs for DB Scoped replication
Summary: Adding yb-admin commands: `repair_xcluster_outbound_replication_add_table <replication_group_id> <table_id> <stream_id>` `repair_xcluster_outbound_replication_remove_table <replication_group_id> <table_id>` These will alow us to manually add or remove an individual table from the source side Outbound Replication Group. `repair_xcluster_outbound_replication_add_table` requires a stream_id which can be created using `bootstrap_cdc_producer`. `repair_xcluster_outbound_replication_remove_table` will not delete the xcluster stream. It will have to be manually deleted with `delete_cdc_stream`. NOTE: This is only meant for manual use by DevOps in extreme situations. **Upgrade/Rollback safety:** New proto messages and APIs are guarded under `enable_xcluster_api_v2` Fixes #21540 Jira: DB-10425 Test Plan: XClusterOutboundReplicationGroupTest.Repair XClusterOutboundReplicationGroupTest.RepairWithYbAdmin XClusterDBScopedTest.DropTableOnProducerThenConsumer XClusterDBScopedTest.DropAllTables XClusterDBScopedTest.DisableAutoTableProcessing Reviewers: jhe, slingam, xCluster Reviewed By: jhe Subscribers: xCluster, ybase Differential Revision: https://phorge.dev.yugabyte.com/D34239
- Loading branch information
Showing
19 changed files
with
524 additions
and
20 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
Oops, something went wrong.