[erlang-questions] Log dumping not thread-safe?
Tue Jul 28 11:26:16 CEST 2009
On Fri, 24 Jul 2009, Igor Ribeiro Sucupira wrote:
> mnesia:dump_log() is not thread-safe. Am I right?
What do you mean with thread-safe in this context?
> In practice, that would mean you can never use this function, as
> Mnesia could be dumping the log at the same moment you called this
> function. Is that correct?
No. Mnesia will start dumping its transaction log when you invoke this
function. But it does not interfere with ongoing transactions. You can
still use Mnesia as usual while the dump is progressing as a background
Håkan Mattsson (uabhams)
Erlang/OTP, Ericsson AB
More information about the erlang-questions