Re: Distribution of Lead Replicas

2020-08-03 Thread Erick Erickson
Before you do that, there’s not a lot of reason to. The actual extra load on the leaders is relatively minimal. Besides, the leadership will change depending on what replicas comes up first. But if you insist, the collections API BALANCESHARDUNIQUE and REBALANCELEADERS will do this. These comma

Distribution of Lead Replicas

2020-08-03 Thread Jae Joo
I have a cluster with 8 nodes for 24 shards with replicaFactor=3 and have only 4 nodes have the leader replicas. Is there any way to redistribute the lead nodes to cross of all 8 nodes? Thanks,