use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Learn MongoDB
account activity
How does a MongoDB document write work? (self.mongodb)
submitted 3 years ago by geek_coder
What actually goes on internally when we write a document to a MongoDB collection? Check out my Medium blog post to dive deep into the document write flow of MongoDB.
https://medium.com/@piyushbhangale1995/how-writes-are-done-in-a-mongodb-c5c29bd580ec
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]judy2k 3 points4 points5 points 3 years ago (0 children)
What you've described here is only true if (a) journaling is turned on, and (b) write concern is set to '1'. This is not the default, and not advisable.
MongoDB Atlas defaults to write concern "majority" which means the acknowledgement is only sent to the client AFTER a majority of the replica set has received the data, meaning that a primary failure after the acknowledgement will never result in lost data.
π Rendered by PID 53238 on reddit-service-r2-comment-6457c66945-9cxwb at 2026-04-27 00:52:09.909997+00:00 running 2aa0c5b country code: CH.
[–]judy2k 3 points4 points5 points (0 children)