Configuration
Synchronous replication can be enabled per collection. When creating acollection you may specify the number of replicas using thereplicationFactor parameter. The default value is set to whicheffectively disables synchronous replication.
In the above case, any write operation will require 2 replicas toreport success from now on.
Multiple replicas of the same shard can never coexist on the same dbserver instance.