]> git.sur5r.net Git - openldap/commitdiff
ITS#8021 doc: Don't mix MDB_WRITEMAP + non-WRITEMAP
authorHallvard Furuseth <hallvard@openldap.org>
Mon, 12 Jan 2015 11:19:51 +0000 (12:19 +0100)
committerHallvard Furuseth <hallvard@openldap.org>
Mon, 12 Jan 2015 11:19:51 +0000 (12:19 +0100)
libraries/liblmdb/lmdb.h

index d22009bbccc68ad874f424a0d9a241f06f731dfe..9efdfb39630105634d13befd040e55142054a75b 100644 (file)
@@ -521,8 +521,8 @@ int  mdb_env_create(MDB_env **env);
         *              and uses fewer mallocs, but loses protection from application bugs
         *              like wild pointer writes and other bad updates into the database.
         *              Incompatible with nested transactions.
-        *              Processes with and without MDB_WRITEMAP on the same environment do
-        *              not cooperate well.
+        *              Do not mix processes with and without MDB_WRITEMAP on the same
+        *              environment.  This can defeat durability (#mdb_env_sync etc).
         *      <li>#MDB_NOMETASYNC
         *              Flush system buffers to disk only once per transaction, omit the
         *              metadata flush. Defer that until the system flushes files to disk,