From: Howard Chu Date: Thu, 24 Jul 2014 00:31:34 +0000 (-0700) Subject: ITS#7789 doc updates X-Git-Tag: OPENLDAP_REL_ENG_2_4_40~71^2~3 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1b08d8e503d3ff7824af990d175a3b966b6b9e33;p=openldap ITS#7789 doc updates --- diff --git a/libraries/liblmdb/lmdb.h b/libraries/liblmdb/lmdb.h index dfdbddc440..b48100a25a 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. *