diff options
-rw-r--r-- | src/mnesia_sync.erl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mnesia_sync.erl b/src/mnesia_sync.erl index 859759ac..901155a8 100644 --- a/src/mnesia_sync.erl +++ b/src/mnesia_sync.erl @@ -16,6 +16,11 @@ -module(mnesia_sync). +%% mnesia:sync_transaction/3 fails to guarantee that the log is flushed to disk +%% at commit. This module is an attempt to minimise the risk of data loss by +%% performing a coalesced log fsync, regardless of whether or not the log was +%% appended to. + -behaviour(gen_server). -export([sync/0]). |