[erlang-questions] Mnesia and supervision

lloyd@REDACTED lloyd@REDACTED
Fri Oct 24 21:41:24 CEST 2014


Hello,
 
In a web application, what is the best way to supervise mnesia when more than one user has access to the mnesia tables?
 
E.g., say I have the following modules:
 
my_data_sup.erl    -- supervisor
my_insert_info.erl  -- insertion form
my_get_info.erl     -- retrieve form
my_data_store.erl -- mnesia query functions
 
I don't understand how to restart mnesia if it should abort for any reason.
 
Many thanks,
 
LRP
 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20141024/dacb957f/attachment.htm>


More information about the erlang-questions mailing list