Mnesia, disconnections and reconnections
Thu Feb 19 09:20:26 CET 2004
However you should reset it to the empty list after re-starting
mnesia. It's usually best to reset it with empty list after starting
Samuel Tardieu writes:
> I have implemented a greylist filter for Postfix in Erlang using
> Mnesia in order to check whether this efficiently reduces spam or
> not. As the system works best if all the MXs use the same database, I
> use a distributed Mnesia database with all nodes having disc_copies of
> every table (3 nodes).
> However, the nodes sometime get disconnected from each other because
> of network outages. As the node don't restart (they weren't shutdown),
> they all use different versions of the tables.
> How can I designate one of the nodes to be the master one so that in
> case of a reconnection the content of the tables will be reloaded from
> this node? Or is there a better way to do this?
>  http://www.greylisting.org/
> Samuel Tardieu -- sam@REDACTED -- http://www.rfc1149.net/sam
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