[erlang-questions] Two nodes in schema and different info in each

Dmitriy Gorbenko bazil@REDACTED
Wed Sep 26 20:13:05 CEST 2007


(f3t@REDACTED)36> mnesia:del_table_copy(schema, alpha1@REDACTED).
{atomic,ok}
(f3t@REDACTED)37> mnesia:info().
---> Processes holding locks <---
---> Processes waiting for locks <---
---> Participant transactions <---
---> Coordinator transactions <---
---> Uncertain transactions <---
---> Active tables <---
schema         : with 2        records occupying 515      words of mem
tt             : with 1        records occupying 287      words of mem
===> System info in version "4.3.5", debug level = none <===
opt_disc. Directory "/home/bazil/try/Mnesia.f3t@REDACTED" is used.
use fallback at restart = false
running db nodes   = ['alpha3@REDACTED','f3t@REDACTED']
stopped db nodes   = ['alpha1@REDACTED']
master node tables = []
remote             = []
ram_copies         = []
disc_copies        = [schema,tt]
disc_only_copies   = []
[{'alpha3@REDACTED',disc_copies},{'f3t@REDACTED',disc_copies}] =
[tt,schema]
32 transactions committed, 6 aborted, 0 restarted, 17 logged to disc
0 held locks, 0 in queue; 0 local transactions, 0 remote
0 transactions waits for other nodes: []
ok

That is why I am asking this question.

Scott Lystig Fritchie wrote:
> dg> running db nodes =
> dg> ['alpha1@REDACTED','alpha3@REDACTED','f3t@REDACTED']
>
>
> dg> And I turned off node alpha1@REDACTED
> dg> [...]
>
> dg> Next I type command "mnesia:del_table_copy(schema, removed_node)."
>
> What about:
>
>     mnesia:del_table_copy(schema, 'alpha1@REDACTED').
>
> -Scott
>
>   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2244 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20070926/33436d77/attachment.bin>


More information about the erlang-questions mailing list