On 6/29/2019 12:23 AM, Nawab Zada Asad Iqbal wrote:
is it possible to specify different number of replicas for different shards? i.e if I expect some shard to get more queries , i can add more replicas to that shard alone, instead of adding replicas for all the shards.
On initial collection creation, I don't think that is possible -- the number of replicas requested will apply to every shard. But you can add and remove replicas on shards after collection creation, so this is achievable.
Thanks, Shawn