-
Type: Bug
-
Resolution: Duplicate
-
Priority: Trivial - P5
-
Affects Version/s: None
-
Component/s: manual
-
Labels:None
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.