Constant lmdb_rs::core::EnvMapAsync
[−]
pub const EnvMapAsync: EnvFlags=
EnvFlags{bits: ffi::MDB_MAPASYNC,}
When using MDB_WRITEMAP, use asynchronous flushes to disk. As with MDB_NOSYNC, a system crash can then corrupt the database or lose the last transactions. Calling mdb_env_sync() ensures on-disk database integrity until next commit. This flag may be changed at any time using mdb_env_set_flags().