lmdb: ITS#8021 doc - Don't mix MDB_WRITEMAP + non-WRITEMAP.

Change-Id: I99916dbac14cece91154977f2eaecd1604198806
This commit is contained in:
Hallvard Furuseth 2015-01-12 12:19:51 +01:00 committed by Leo Yuriev
parent 13b144dc5d
commit 8375bb0c8d

4
lmdb.h
View File

@ -526,8 +526,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,