-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#22908] xCluster: Use XClusterRemoteClient across XCluster
Summary: Use `XClusterRemoteClient` in `XClsuterConsumer`. This helps unify the client usage in xCluster, and move all client creation logic out of `XClusterConsumer`. - Renamed `XClusterRemoteClient` to `XClusterRemoteClientHolder`. - Moved Client functions `SetupDbScopedUniverseReplication`, `IsSetupUniverseReplicationDone`, and `AddNamespaceToDbScopedUniverseReplication` from `XClusterRemoteClient` to `XClusterClient`. - Moved `xcluster_util` from `/src/cdc` to `/src/common` so that it can be used in the `client` library. - Moved `MockXClusterRemoteClientHolder` and `MockXClusterClient` to `xcluster_client_mock`. - Moved flags `certs_for_cdc_dir` and `cdc_read_rpc_timeout_ms` to `common_flags`. Fixes #22908 Jira: DB-11816 Test Plan: Jenkins Reviewers: jhe, xCluster Reviewed By: jhe Subscribers: esheng, ycdcxcluster, xCluster, ybase Differential Revision: https://phorge.dev.yugabyte.com/D35908
- Loading branch information
Showing
38 changed files
with
446 additions
and
381 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.