You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
This diff adds two APIs:
1. SetupUniverseReplication which will be run on consumer DC to setup the DC to consumer data from another YB universe.
2. DeleteUniverseReplication which will be run on consumer DC to delete replication.
Setting up YB replication involves the following steps:
1. Consumer universe master leader gets the table schemas from producer universe master leader and validates that schemas match.
2. Consumer master then sets up CDC streams on producer universe for all tables that are to be replicated.
3. Consumer master sets up CDC subscribers to consume data from producers.
Information about universe replication is maintained in master sys catalog.
Sample command to setup 2DC:
```
./build/latest/bin/yb-admin -master_addresses 127.0.0.11:7100,127.0.0.12:7100,127.0.0.13:7100 setup_universe_replication e260b8b6-e89f-4505-bb8e-b31f74aa29f3 127.0.0.1:7100,127.0.0.2:7100,127.0.0.3:7100 000030a5000030008000000000004000,000030a5000030008000000000004005
```
Test Plan:
```
ctest -R sys_catalog
ctest -R master_master-test
ctest -R twodc
ctest -R client_client-test
```
Reviewers: rahuldesirazu, sergei, bogdan
Reviewed By: bogdan
Subscribers: mikhail, ybase
Differential Revision: https://phabricator.dev.yugabyte.com/D7046
Add API to setup and delete replication between two YB universes.
This should:
The text was updated successfully, but these errors were encountered: