Deleting mnesia tables

Ulf Wiger etxuwig@REDACTED
Fri Sep 6 18:21:57 CEST 2002


On Fri, 6 Sep 2002, Sean Hinde wrote:

>I then started mnesia on other@REDACTED and it came up
>straight away fully integrated into the schema with all it's
>tables intact. It was just as through I had never deleted it's
>schema from the other nodes at all.

If I'm not mistaken, this is a bug. At least this was Dan's
comment when I pointed it out to him a while back.

If you, say, move a table copy from node A to node B while one
schema node C is down, the copy on node A will reappear when
schema node C comes back up.

This makes for fun effects if you try to co-locate processes and
data, or move replicas around for other reasons. It's kindof like
that amusement park game where you try to clobber pegs that keep
popping up out of different holes -- when a schema node restarts,
you have to check that you don't have unwanted old replicas
around.

/Uffe
-- 
Ulf Wiger, Senior Specialist,
   / / /   Architecture & Design of Carrier-Class Software
  / / /    Strategic Product & System Management
 / / /     Ericsson Telecom AB, ATM Multiservice Networks




More information about the erlang-questions mailing list