[erlang-questions] auto-syncing mnesia after a network split
Tue Dec 2 18:04:34 CET 2008
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
More information about the erlang-questions