svn: /phpdoc/en/trunk/reference/mongo/mongoclient/ construct.xml

From: Date: Wed, 08 May 2013 14:23:04 +0000
Subject: svn: /phpdoc/en/trunk/reference/mongo/mongoclient/ construct.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-11238@lists.php.net to get a copy of this message
derick Wed, 08 May 2013 14:23:04 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=330191 Log: PHP-788: Document journal/fsync MongoClient connection options Changed paths: U phpdoc/en/trunk/reference/mongo/mongoclient/construct.xml Modified: phpdoc/en/trunk/reference/mongo/mongoclient/construct.xml =================================================================== --- phpdoc/en/trunk/reference/mongo/mongoclient/construct.xml 2013-05-08 14:14:16 UTC (rev 330190) +++ phpdoc/en/trunk/reference/mongo/mongoclient/construct.xml 2013-05-08 14:23:04 UTC (rev 330191) @@ -122,6 +122,32 @@ </listitem> <listitem> <para> + <literal>"fsync"</literal> + </para> + <para> + When <literal>fsync</literal> 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 <emphasis>using</emphasis> this + option and use the <literal>journal</literal> option instead, + perhaps in combination with the <literal>w</literal> option. + </para> + </listitem> + <listitem> + <para> + <literal>"journal"</literal> + </para> + <para> + When <literal>journal</literal> 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. + </para> + </listitem> + <listitem> + <para> <literal>"password"</literal> </para> <para>

« previous php.doc.cvs (#11238) next »