[erlang-questions] Mnesia: inconsistent views without netsplit?

Daniel Dormont <>
Tue Apr 26 21:30:37 CEST 2016

Hi all,

I have a three node Mnesia cluster (hosting a somewhat outdated
version of ejabberd, but I'm not sure that matters). I have a table
that is stored as ram_copies on all three nodes. Yet, this table has
differing numbers of records among the three.

The table info from one of them is pasted below. Running the same
query on one of my other nodes, I get more or less the same result,
but the "size" is very different: 553 vs 867. And indeed, there are
individual records that turn up in a mnesia:read/2 or
mnesia:dirty_read/2 on one node and not the other.

Yet, nothing in my log indicates that there was ever a netsplit or
disconnection. So I have two questions:

1) What might cause this? and
2) Is there any way, especially given I know which records are
affected, to force some kind of replication on this table without
completely restarting one of the nodes?

Dan Dormont


More information about the erlang-questions mailing list