module Mongo::Commands::Fsync
Overview
Forces the mongod process to flush all pending writes from the storage layer to disk and locks the entire mongod instance to prevent additional writes until the user releases the lock with a corresponding fsyncUnlock.
Optionally, you can use fsync to lock the mongod instance and block write operations for the purpose of capturing backups.
NOTE for more details, please check the official MongoDB documentation.
Extended Modules
Defined in:
cryomongo/commands/admin/fsync.crClass Method Summary
Instance Method Summary
-
#command(options = nil)
Returns a pair of OP_MSG body and sequences associated with the command and arguments.
Class Method Detail
Instance Method Detail
def command(options = nil)
#
Returns a pair of OP_MSG body and sequences associated with the command and arguments.