From 1b08d8e503d3ff7824af990d175a3b966b6b9e33 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 23 Jul 2014 17:31:34 -0700 Subject: [PATCH] ITS#7789 doc updates --- libraries/liblmdb/lmdb.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libraries/liblmdb/lmdb.h b/libraries/liblmdb/lmdb.h index dfdbddc..b48100a 100644 --- a/libraries/liblmdb/lmdb.h +++ b/libraries/liblmdb/lmdb.h @@ -787,7 +787,13 @@ int mdb_env_get_fd(MDB_env *env, mdb_filehandle_t *fd); * this process. Note that the library does not check for this condition, * the caller must ensure it explicitly. * - * If the mapsize is changed by another process, #mdb_txn_begin() will + * The new size takes effect immediately for the current process but + * will not be persisted to any others until a write transaction has been + * committed by the current process. Also, only mapsize increases are + * persisted into the environment. + * + * If the mapsize is increased by another process, and data has grown + * beyond the range of the current mapsize, #mdb_txn_begin() will * return #MDB_MAP_RESIZED. This function may be called with a size * of zero to adopt the new size. *