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-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9441012435e8417a96e11350a4e74186db5a504a;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 d22009bbcc..9efdfb3963 100644 --- a/libraries/liblmdb/lmdb.h +++ b/libraries/liblmdb/lmdb.h @@ -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). *
  • #MDB_NOMETASYNC * Flush system buffers to disk only once per transaction, omit the * metadata flush. Defer that until the system flushes files to disk,