From: Nico Cartron Date: Fri, 10 May 2019 10:04:31 +0000 (+0200) Subject: Added details about 'lmdb-sync-mode=sync' option X-Git-Tag: rec-4.2.0-rc1~23^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f61541a126039c3a32f76342afa935c3587a5f24;p=pdns Added details about 'lmdb-sync-mode=sync' option --- diff --git a/docs/backends/lmdb.rst b/docs/backends/lmdb.rst index d63d07357..5169fbda7 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.