Answer Posted / Puja Kumari Sonkar
Journaling in MongoDB is a write concern option that ensures data durability by writing the changes to a journal on disk before acknowledging the operation as successful. There are two levels of journaling: 'journaled' (w:1) and 'majority'. 'journaled' writes the changes to the journal, while 'majority' waits for a majority vote from replica set members before confirming the write.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers