OPTIONS

db.fsyncUnlock()

Definition

db.fsyncUnlock()

Unlocks a mongod instance to allow writes and reverses the operation of a db.fsyncLock() operation. Typically you will use db.fsyncUnlock() following a database backup operation.

db.fsyncUnlock() is an administrative operation.

Wired Tiger Compatibility

With WiredTiger the db.fsyncLock() and db.fsyncUnlock() operations cannot guarantee that the data files do not change. As a result, do not use these methods to ensure consistency for the purposes of creating backups.