From 0599dee9d496627e67b1c3f97b446ed5de785607 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Mon, 12 Jan 2015 12:19:51 +0100 Subject: [PATCH] ITS#8021 doc: Don't mix MDB_WRITEMAP + non-WRITEMAP --- libraries/liblmdb/lmdb.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/liblmdb/lmdb.h b/libraries/liblmdb/lmdb.h index 35f5f42..547c852 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,