Mnesia broken?
Joakim Grebenö
jocke@REDACTED
Mon Apr 26 11:46:57 CEST 1999
Hi all,
I can't add a new Mnesia node to an already runnning set
of Mnesia nodes, i.e. inherit the db schema on the new
node.
It used to work (doesn't it always ;-), or is it just me
having a bad day?
Is this feature broken in Mnesia in 47.4.1?
/Jocke
The bug(?) in a simple example:
-- Start x@REDACTED
[jocke@REDACTED]$ erl -sname x
Erlang (JAM) emulator version 47.4.1
Eshell V47.4.1 (abort with ^G)
(x@REDACTED)1> mnesia:create_schema([node()]).
ok
(x@REDACTED)2> mnesia:start().
ok
-- Start y@REDACTED
[jocke@REDACTED]$ erl -sname y -mnesia extra_db_nodes \[x@REDACTED\]
Erlang (JAM) emulator version 47.4.1
Eshell V47.4.1 (abort with ^G)
(y@REDACTED)1> mnesia:start().
ok
-- Add y@REDACTED to x@REDACTED's mnesia context, i.e. inherit schema.
(x@REDACTED)4> mnesia:change_table_copy_type(schema,y@REDACTED,disc_copies).
Ohps! x@REDACTED hangs forever...
-- Ohps! Oh no y@REDACTED crashes...
(y@REDACTED)2>
=ERROR REPORT==== 26-Apr-1999::10:59:44 ===
Mnesia(y@REDACTED): ** ERROR ** (ignoring core) ** FATAL ** mnesia_monitor crashed: {badarg,
{ets,
lookup,
[disk_log_names,
latest_log]}} state: {state,
<0.59.0>,
[],
[]}
=ERROR REPORT==== 26-Apr-1999::10:59:54 ===
Mnesia(y@REDACTED): ** ERROR ** mnesia_event got unexpected event: {'EXIT',
<0.61.0>,
killed}
=INFO REPORT==== 26-Apr-1999::10:59:54 ===
application: mnesia
exited: killed
type: temporary
More information about the erlang-questions
mailing list