Sync Issues in clusters

We have two MongoDB clusters — Cluster A and Cluster B.
Our objective is to keep both clusters in sync ensuring that any data changes in one cluster are mirrored in the other.

To achieve this, we’re currently using MongoDB’s mongosync utility:

From A to B: When any data changes occur in Cluster A, mongosync pushes those changes to Cluster B.
From B to A: We also have a reverse setup, so that changes in Cluster B sync back to Cluster A.

Challenge Faced

While this bi-directional syncing works in principle, we’ve observed a key limitation:

Only one sync operation happens at a time.
If mongosync is running from A → B, any reverse syncing (B → A) is blocked until the first operation completes, and vice versa.

Discussion Point

Is there a way to allow parallel sync operations — so that changes in A and B can be propagated simultaneously, without waiting for the other direction to complete?

Hi @Saurav_Yadav

This is not what Cluster-to-Cluster sync is intended for. The purpose of the tool is for one time migration from one cluster to another.

Reverse sync is to keep the source cluster in sync after the commit has completed. If there is a need to go back to the source cluster it will be up to date with the changes from the destination.