diff --git a/reference/mongo/mongoclient/construct.xml b/reference/mongo/mongoclient/construct.xml index 184c9445a0..262eb533ab 100644 --- a/reference/mongo/mongoclient/construct.xml +++ b/reference/mongo/mongoclient/construct.xml @@ -120,6 +120,32 @@ mongodb://[username:password@]host1[:port1][,host2[:port2:],...]/db host list. + + + "fsync" + + + When fsync is set, all write operations on the + database will block until the database server has flushed its + database files to disk. This makes write operations a lot slower, + but it guarantees that the write operation has succeeded and + committed to disk. Please avoid using this + option and use the journal option instead, + perhaps in combination with the w option. + + + + + "journal" + + + When journal is set, all write operations on the + database will block until the database server has flushed the + journal to disk. This makes the write operations marginally slower, + but it guarantees that the write operation has succeeded and the + operation can be recovered in case of total system failure. + + "password"