From: Hallvard Furuseth Date: Mon, 12 Jan 2015 11:19:51 +0000 (+0100) Subject: ITS#8021 doc: Don't mix MDB_WRITEMAP + non-WRITEMAP X-Git-Tag: LMDB_0.9.15~35 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0599dee9d496627e67b1c3f97b446ed5de785607;p=openldap ITS#8021 doc: Don't mix MDB_WRITEMAP + non-WRITEMAP --- diff --git a/libraries/liblmdb/lmdb.h b/libraries/liblmdb/lmdb.h index 35f5f420e3..547c852fb9 100644 --- a/libraries/liblmdb/lmdb.h +++ b/libraries/liblmdb/lmdb.h @@ -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). *
  • #MDB_NOMETASYNC * Flush system buffers to disk only once per transaction, omit the * metadata flush. Defer that until the system flushes files to disk,