[erlang-questions] mnesia bug?

Dan Gudmundsson dgud@REDACTED
Mon Mar 3 10:05:27 CET 2008

Intentional (but harmless in your case), the schema table is still 
shared between the nodes.

The partitioned network means the two or more nodes have been up
when the network link between some of them them have been down, it 
doesn't check or care which tables resides where.


Serge Aleynikov wrote:
> I recently ran into this behavior of mnesia that seemed odd.
> 1. Mnesia is running on node A and node B, and node B has extra_db_nodes 
> environment set to [A].
> 2. Node A has a disc_copies table T.
> 3. Node B has no replica of table T and accesses it remotely.
> 4. Node A and node B start up and B calls
>     mnesia:wait_for_tables([T], Timeout).
> 5. A some point later either network access between nodes A and B lost 
> and restored (e.g. via calls to net_kernel:disconnect/1, 
> net_kernel:connect_node/1).
> 6. Mnesia on node A reports a *partitioned network* event.
> This seems strange as node B has no ram or disk copies of any table and 
> node A should not be reporting this event as its tables are still 
> consistent.
> Can anyone comment on whether it's a bug or intended design?
> Serge
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions

More information about the erlang-questions mailing list