mirror of
https://github.com/isar/libmdbx.git
synced 2025-09-16 03:32:19 +08:00
mdbx: Merge branch 'master' into c++.
Change-Id: I7431973ca96afe98d991ffd0a876a15e6ed94714
This commit is contained in:
13
mdbx.h
13
mdbx.h
@@ -1070,15 +1070,20 @@ enum MDBX_env_flags_t {
|
||||
* be written to disk, while the itself B-tree not yet. In that case, the
|
||||
* database will be corrupted!
|
||||
*
|
||||
* \see MDBX_NOMETASYNC \see MDBX_SAFE_NOSYNC \see MDBX_UTTERLY_NOSYNC
|
||||
* \see MDBX_SYNC_DURABLE \see MDBX_NOMETASYNC \see MDBX_SAFE_NOSYNC
|
||||
* \see MDBX_UTTERLY_NOSYNC
|
||||
*
|
||||
* @{ */
|
||||
|
||||
/** Default robust and durable sync mode.
|
||||
*
|
||||
* Metadata is written and flushed to disk after data is written and flushed,
|
||||
* which guarantees the integrity of the database in the event of a crash at
|
||||
* any time. */
|
||||
* Metadata is written and flushed to disk after a data is written and
|
||||
* flushed, which guarantees the integrity of the database in the event
|
||||
* of a crash at any time.
|
||||
*
|
||||
* \attention Please do not use other modes until you have studied all the
|
||||
* details and are sure. Otherwise, you may lose your users' data, as happens
|
||||
* in [Miranda NG](https://www.miranda-ng.org/) messenger. */
|
||||
MDBX_SYNC_DURABLE = 0,
|
||||
|
||||
/** Don't sync the meta-page after commit.
|
||||
|
Reference in New Issue
Block a user