[erlang-questions] mnesia:clear_table/1 and local_content: bug or feature?

Serge Aleynikov saleyn@REDACTED
Fri Jan 23 04:45:27 CET 2009


Hi,

Not quite sure if this is a bug or a feature.  Documentation is not 
defining this behavior, but it seems like a bug.

If you create replicas of a mnesia table on different nodes with 
{local_content, true}, calling mnesia:clear_table/1 on some node clears 
the content of the table on all nodes.  This seems a bit surprising as 
local_content means that the content of each table is managed by each 
node independently.

Serge



More information about the erlang-questions mailing list