[erlang-questions] auto-syncing mnesia after a network split

Joel Reymont joelr1@REDACTED
Mon Dec 8 18:37:44 CET 2008

On Dec 8, 2008, at 5:19 PM, Jim McCoy wrote:

> To maintain the current properties of mnesia I believe the only option
> would be to add some complexity on the mechanics of the join mechanism
> (e.g. a quorum system like paxos to decide membership and agreement
> among the nodes as to the minimum quorum below which a partitioned
> subset is read-only) and a bit of work to change a minority subset
> into read-only mode when a partition is discovered.

I'm willing to take a shot at the work, with proper instruction and  

I really really want a fix for this issue. I don't see how Mnesia can  
be used as the backend for an internet site otherwise. It's currently  
impossible to run an ecommerce or other internet site on top of Mnesia  
because of the split/rejoin issue. Please show me where I am mistaken.

My understanding is that this issue can be dealt with in the telecom  
industry due to the transient nature of the data. I'm guessing that  
really important data always goes into Oracle, PostgreSQL, etc.

Yes, I can use PostgreSQL or MySQL instead of Mnesia but then I have  
to deal with replication issues on that end. Does anyone know how  
other databases deal with network splits in a multi-master scenario?

	Thanks, Joel


More information about the erlang-questions mailing list