]> 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:20:31 +0000 (12:20 +0100)
libraries/liblmdb/lmdb.h

index 35f5f420e385ff1dbcbb290d5ab095f019bfcd04..547c852fb96cb00028c82c15aa727f8b8199b9b0 100644 (file)
@@ -516,8 +516,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,