From f61541a126039c3a32f76342afa935c3587a5f24 Mon Sep 17 00:00:00 2001 From: Nico Cartron Date: Fri, 10 May 2019 12:04:31 +0200 Subject: [PATCH] Added details about 'lmdb-sync-mode=sync' option --- docs/backends/lmdb.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/backends/lmdb.rst b/docs/backends/lmdb.rst index d63d073575..5169fbda71 100644 --- a/docs/backends/lmdb.rst +++ b/docs/backends/lmdb.rst @@ -45,8 +45,9 @@ Default is 2 on 32 bits systems, and 64 on 64 bits systems. ``lmdb-sync-mode`` ^^^^^^^^^^^^^^^^^ -Synchronisation mode: nosync, nometasync, mapasync +Synchronisation mode: sync, nosync, nometasync, mapasync +* ``sync``: LMDB synchronous mode. Safest option, but also slightly slower. Can also be enabled with ``lmdb-sync-mode=`` * ``nosync``: don't flush systems buffers to disk when committing a transation. This means a system crash can corrupt the database or lose the last transactions if buffers are not yet flushed to disk. * ``nometasync``: flush system buffers to disk only once per transaction, omit the metadata flush. This maintains database integrity, but can potentially lose the last committed transaction if the operating system crashes. -- 2.47.2