Including Mnesia in a supervision tree?

Shawn Pearce <>
Sat Feb 7 21:36:33 CET 2004


Thanks for the reply Vance, as I'm also going to be looking at
the release stuff yet.

How does this help me when Mnesia fails?  Does the release handler
above the applications then restart the applications, or is the
node considered "dead" and restarted by heart?

I'm not looking for Mnesia to fail, just wondering how it fits into the
otherwise nice failure handling that OTP provides.

Vance Shipley <> wrote:
> Shawn,
> 
> You should create a release.  Create a release resource file
> like in this example file named myrelease.rel:
> 
>    {release, {"releasename", "0.1"}, {erts, "5.3.1"},
>         [{kernel, "2.9.2"},
>         {stdlib, "1.12.3"},
>         {sasl, "1.10"},
>         {mnesia, "4.1.6"},
>         {eva, "2.0.4"},
>         {myapp, "0.1"}]}.

-- 
Shawn.



More information about the erlang-questions mailing list