[erlang-questions] Mnesia: stopped db nodes

66 views
Skip to first unread message

Vance Shipley

unread,
Aug 29, 2012, 12:26:16 AM8/29/12
to erlang-q...@erlang.org
Is there really no way to coax mnesia into reconnecting other than to
restart the application? I get that the decisions can only be made at
the application level but if I have a read only node which was momentarily
disconnected do I really have to stop and start mnesia to get back online?
I'd really like to just tell it it's OK, everythings fine.

--
-Vance
_______________________________________________
erlang-questions mailing list
erlang-q...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions

Mike Oxford

unread,
Aug 29, 2012, 1:19:22 AM8/29/12
to Vance Shipley, erlang-q...@erlang.org
Look into Ulf's unsplit https://github.com/uwiger/unsplit 

Best you can do is run a Master + Majority + unsplit, I believe.

Or use something like Riak instead (note: have to write sibling resolvers if you allow_mult=true) but at least your whole setup isn't frozen when a node comes back. :)

G'luck!

-mox
Reply all
Reply to author
Forward
0 new messages