mongodb - how does mongo select primary shard in cluster? -
have created 3 mongod , 2 mongos , single config server. while in sh.printshardingstatus(). says node primary one.
how mongodb select primary shard hold un shard collection , can change primary one.
the primary shard in new cluster first shard. see manual
Comments
Post a Comment