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

Dan Gudmundsson <>
Fri Jan 23 09:12:26 CET 2009


That sounds like a bug to me.

Will fix in the next release.

/Dan

Serge Aleynikov wrote:
> 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
> _______________________________________________
> erlang-questions mailing list
> 
> http://www.erlang.org/mailman/listinfo/erlang-questions
> 



More information about the erlang-questions mailing list