[erlang-questions] mnesia shutdown

Filippo Pacini pacini@REDACTED
Tue May 15 16:29:48 CEST 2007


Hi,
I'm not an expert, but init:stop() should be what you are looking for.

cheers,
filippo

Martin Dvořák wrote:
> Hello,
> 
> I'm building a mnesia application and I wonder how the system can be
> shutdown so that nothing that should be in the database is lost.
> 
> Before the application shutdown I suspend all the processes (so that no
> more data is generated) and I wish to halt the node after everything has
> been written to disk.
> 
> I've read mnesia and ejabberd sources and I found no point where the
> application ensures proper database shutdown.
> 
> Can you point me to some docs or give a hint?
> 
> Thanks,
> Martin
> 



More information about the erlang-questions mailing list