Explain do I have to call getLastError to make a write durable?

Submitted by: Administrator
No. If you don't call getLastError (aka "Safe Mode") the server does exactly the same behavior as if you had. The getLastError call simply lets one get confirmation that the write operation was successfully committed. Of course, often you will want that confirmation, but the safety of the write and its durability is independent.
Submitted by: Administrator

Read Online MongoDB Job Interview Questions And Answers