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

Dmitriy Gorbenko bazil@REDACTED
Wed Sep 26 17:44:28 CEST 2007


hello everyone

I have a question about mnesia. I have three nodes in schema (two with
disc_copies, one with ram_copies):

running db nodes   = ['alpha1@REDACTED','alpha3@REDACTED','f3t@REDACTED']
stopped db nodes   = []
...
[{'alpha1@REDACTED',ram_copies},
 {'alpha3@REDACTED',disc_copies},
 {'f3t@REDACTED',disc_copies}] = [schema,tt]

And I turned off node alpha1@REDACTED Well, I type mnesia:info() at
f3t@REDACTED node, and saw that removed node is in stopped_db_nodes array.

Next I type command "mnesia:del_table_copy(schema, removed_node)." and
at f3t@REDACTED, but removed node did not disappear from
'stopped_db_nodes' array, but at second node - he did.

How it could be - than two nodes in schema has different datas (using
mnesia:info()):

at first:
running db nodes   = ['alpha3@REDACTED','f3t@REDACTED']
stopped db nodes   = ['alpha1@REDACTED']

at second:
running db nodes   = ['f3t@REDACTED','alpha3@REDACTED']
stopped db nodes   = []

Thanks.

-------------- 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/8d766fda/attachment.bin>


More information about the erlang-questions mailing list