Details
-
Bug
-
Resolution: Won't Fix
-
Trivial - P5
-
None
-
Web Content (Desktop Version)
*Location*: https://docs.mongodb.com/manual/reference/command/findAndModify/#dbcmd.findAndModify
*User-Agent*: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36
*Referrer*: https://docs.mongodb.com/manual/reference/method/db.collection.findAndModify/
*Screen Resolution*: 1920 x 1080
Web Content (Desktop Version) *Location*: https://docs.mongodb.com/manual/reference/command/findAndModify/#dbcmd.findAndModify *User-Agent*: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36 *Referrer*: https://docs.mongodb.com/manual/reference/method/db.collection.findAndModify/ *Screen Resolution*: 1920 x 1080
-
0.1
Description
Would be great if there was a section about Replica Set scenarios. Does this hit the primary? Or could the "find" portion fail if the document was just created and secondaryPreferred is set to true?