Details
-
Bug
-
Resolution: Duplicate
-
Trivial - P5
-
None
-
None
Description
Multiple calls to db.fsyncLock() will require an equal number of calls to db.fsyncUnlock() to revert the database to a writable state. This is because the locks are tracked with counters, and it's not simply a boolean state (e.g. "am I locked or not").
It would be helpful if http://docs.mongodb.org/manual/reference/method/db.fsyncLock mentioned this.