Dear,
do i need set the priority for one of every shard replication set members, and let the one be the pirmary member when first startup?
say if i have five hosts A B C D E, and i have five shards,every shard is a replication set with two members.
host A:shard01_member0, shard05_member1
host B:shard02_member0, shard03_member1
host C:shard03_member0, shard04_member1
host D:shard04_member0, shard02_member1
host E:shard05_member0, shard01_member1
if i startup all mongod and mongos instance, then mongo will auto select the primary and secondary member for every replication set.
there is a situation that all five primary members are in hosts A,B,C .
is this the best practice that: set high priority for all member0 , then all member0 will be the primary member after first startup?