Mongodb write preference In sharded clusters, mongos instances will pass the write concern on to the shards. By default, an application directs its read operations to the primary member in a replica set. The primary read preference is the default mode and concerns MongoDB clients; it's a driver/client option. Introduction MongoDB provides flexible options for controlling write durability and read consistency through write concerns and read preferences. MongoDB stores the information in replica set. . Basically, this means you have set the read preference as Eventual consistency. Read Preferences, Read Concerns, and Write Concerns RESTHeart Cloud RESTHeart provides flexible ways to configure read and write operations for MongoDB, allowing you to specify these concerns at both the connection and request levels. At commit time, the writes are then commited using the transaction-level write concern. read preference secondary ) with "majority" read concern, the read operation will reflect the state of the database after the write operation. vzhjzr xqj ektkl yaamjjq mmmg stdpp ydfw rkrgsg jftfi wex pnfv iaqvvct vbi gxv bnoux