Mnesia, disconnections and reconnections

Hakan Mattsson <>
Thu Feb 19 09:34:09 CET 2004


On Thu, 19 Feb 2004, Dan Gudmundsson wrote:

Danne> See mnesia:set_master_nodes/[12]
Danne> 
Danne> However you should reset it to the empty list after re-starting
Danne> mnesia. It's usually best to reset it with empty list after starting
Danne> mnesia.

You need to be careful here, as you need to wait for all involved
tables to actually be loaded from the master node(s) before you safely
can empty the master node list. Use mnesia:wait_for_tables/2 for this
purpose.

/Håkan

---
Håkan Mattsson
Ericsson
High Availability Software, DBMS Internals
http://www.erlang.org/~hakan/


This communication is confidential and intended solely for the addressee(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you believe this message has been sent to you in error, please notify the sender by replying to this transmission and delete the message without disclosing it. Thank you.

E-mail including attachments is susceptible to data corruption, interruption, unauthorized amendment, tampering and viruses, and we only send and receive e-mails on the basis that we are not liable for any such corruption, interception, amendment, tampering or viruses or any consequences thereof.




More information about the erlang-questions mailing list