We are attempting to migrate our existing mongodb replicaset to a mongodb sharded replicaset.
We are doing a continous replication migration using mongosync Sync a Replica Set to a Sharded Cluster - MongoDB Cluster-to-Cluster Sync v1.13 - MongoDB Docs
However we are gettign the following error
{"success":false,"error":"APIError","errorDescription":"failed to confirm that the destination’s shard balancer does not affect migrated collections: detected unsupported balancer status: the destination cluster's balancer is turned on. See https://www.mongodb.com/docs/cluster-to-cluster-sync/current/reference/mongosync/mongosync-behavior/#cluster-and-collection-types for mongosync's balancer requirements and limitations"}
The documentation suggests we need to stop the balancer whilst the sync is happening - mongosync Behavior - MongoDB Cluster-to-Cluster Sync v1.13 - MongoDB Docs
However when i run sh.stopBalancer()
it appears to apply momentarily but then gets reversed back ( monitoring sh.getBalancerState())
Im wondering if there is a limitation with percona mongodb preventing us from doing this?