Replication between 2 clusters

Hi,
I have a usecase where we are migrating data from a source yugabyte cluster (cluster A) to sink yugabyte cluster (cluster B), cluster A has a large amount of data.

  • We are planning to use xCluster with bootstrapping to migrate data from Cluster A to Cluster B.
  • We are planning to take a short downtime on our application to move writes to Cluster B.
  • Post the traffic migration. I need a way to replicate writes happening on cluster B back to cluster A to support rollback in case we need it.
  • xCluster will not work here as it would require bootstrapping as source cluster (cluster B in this case) has data.

Is there a way to do replication from Cluster B to Cluster A in above scenario.

I understand setting up CDC source and sink connectors is one way. is there an inbuilt way to do this without CDC or xcluster (as it requires bootstraping)

Hi @Manish

Why not use Deploy transactional xCluster replication | YugabyteDB Docs ?

@dorian_yugabyte Transactional xCluster with switchover is in preview and only supported on 2.25.
We can’t use this in production. or is it safe for Production use?

Any other way you can suggest?

Not yet. When do you expect to go to production?

What’s the issue with bootstrapping again here?