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

Alex alustenberg@REDACTED
Tue Dec 2 18:18:40 CET 2008

what happens when you have multiple updates to both sides of the split?  if
you just pick the highest vnum, you lose all the transactions from the other
side of the split when it rejoins.

On Tue, Dec 2, 2008 at 12:04 PM, Joel Reymont <joelr1@REDACTED> wrote:

> What about keeping a version counter on each mnesia node in the
> cluster and adding a version number to every record?
> Alternatively, the version counter could be kept per table or a
> timestamp could be used instead.
> The version number would be bumped  on every insert or update and the
> node or table with the highest vnum would be chosen as the master
> after nodes rejoin.
> The goal is to pick the latest record as the true one.
> What do you think?
> Sent from my iPhone
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20081202/b51708d5/attachment.htm>

More information about the erlang-questions mailing list