Removing a dead node from Mnesia?
Shawn Pearce
spearce@REDACTED
Sun Feb 8 02:28:06 CET 2004
Ulf Wiger <ulf.wiger@REDACTED> wrote:
> >How do I get Mnesia on a@REDACTED to forget about the full table copy on
> >b@REDACTED?
>
> You could perhaps try mnesia:traverse_backup() (see the Ref manual)
> You'd have to create a backup, go through it, and remove all mention
> of b@REDACTED, and then restart a@REDACTED from the backup.
>
> There might be better ways, but I can't come up with one.
Interesting approach. Actually the User Guide has a more helpful
entry on traverse_backup/6 than the Reference manual has. Its a
pain to do it seems, but is certainly a possible way to solve the
problem. Not that I have tried to do it yet, as it is a good ugly
chunk of code.
--
Shawn.
More information about the erlang-questions
mailing list