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

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?


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()]).
(x@REDACTED)2> mnesia:start().

-- 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().

-- 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...

=ERROR REPORT==== 26-Apr-1999::10:59:44 ===
Mnesia(y@REDACTED): ** ERROR ** (ignoring core) ** FATAL ** mnesia_monitor crashed: {badarg,
                                                                                         latest_log]}} state: {state,
=ERROR REPORT==== 26-Apr-1999::10:59:54 ===
Mnesia(y@REDACTED): ** ERROR ** mnesia_event got unexpected event: {'EXIT',
=INFO REPORT==== 26-Apr-1999::10:59:54 ===
    application: mnesia
    exited: killed
    type: temporary

More information about the erlang-questions mailing list