Mnesia broken?

Joakim Grebenö <>
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 

[]$ erl -sname x
Erlang (JAM) emulator version 47.4.1
 
Eshell V47.4.1  (abort with ^G)
()1> mnesia:create_schema([node()]).
ok
()2> mnesia:start().
ok

-- Start 

[]$ erl -sname y -mnesia extra_db_nodes \[\]
Erlang (JAM) emulator version 47.4.1
 
Eshell V47.4.1  (abort with ^G)
()1> mnesia:start().
ok

-- Add  to 's mnesia context, i.e. inherit schema.

()4> mnesia:change_table_copy_type(,disc_copies).

Ohps!  hangs forever...

-- Ohps! Oh no  crashes...

()2> 
=ERROR REPORT==== 26-Apr-1999::10:59:44 ===
Mnesia(): ** 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(): ** 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