-
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.
[#10611][xCluster] Slow SetupReplication requests when using too many…
… tables Summary: Currently, setup_replication times out when using too many tables. The workaround is to batch into multiple entries with ~10 tables. When investigating, found that we were serially creating a YBClient object, per table, that required 5 sec to startup. Modified to use a cached object and added 2 basic unit tests to run the setup_replication command with 100 tables and verify a reasonable runtime. Test Plan: TwoDCTestParams/TwoDCTest.BootstrapAndSetupLargeTableCount/0 -n 10 TwoDCTestParams/TwoDCTest.SetupUniverseReplicationLargeTableCount/0 -n 10 Reviewers: jhe, rahuldesirazu Reviewed By: rahuldesirazu Subscribers: ybase, bogdan Differential Revision: https://phabricator.dev.yugabyte.com/D15256
- Loading branch information
1 parent
912efee
commit 718e14b
Showing
6 changed files
with
228 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