[erlang-questions] Mnesia cluster across releases
Daniel Dormont
dan@REDACTED
Tue Mar 18 22:38:45 CET 2014
Hi all,
Can a Mnesia cluster exist across two OTP releases, specifically R15B
and R16B? I'm testing some upgrades here and seeing this error about
two minutes after trying to join a node running R16B to an existing
cluster running R15B:
=ERROR REPORT==== 2014-03-18 17:13:29 ===
Mnesia('ejabberd@REDACTED'): ** ERROR ** (core
dumped to file:
"/var/lib/ejabberd/MnesiaCore.ejabberd@REDACTED")
** FATAL ** Schema update error {{badmatch,
{error,
{bad_object_header,
"/var/lib/ejabberd/schema.DAT"}}},
[{mnesia_dumper,dets_insert,4,
[{file,"mnesia_dumper.erl"},{line,342}]},
{mnesia_dumper,insert_cstruct,5,
[{file,"mnesia_dumper.erl"},{line,1117}]},
{mnesia_dumper,insert_ops,6,
[{file,"mnesia_dumper.erl"},{line,309}]},
{mnesia_dumper,perform_update,4,
[{file,"mnesia_dumper.erl"},{line,292}]},
{mnesia_dumper,update,3,
[{file,"mnesia_dumper.erl"},{line,273}]},
{mnesia_tm,do_commit,3,
[{file,"mnesia_tm.erl"},{line,1780}]},
{mnesia_tm,commit_participant,6,
[{file,"mnesia_tm.erl"},{line,1699}]}]} [{op,
merge_schema,
[{name,
... etc.
If not, are there strategies for dealing with such an upgrade? Or is
this caused by something else entirely?
Thanks,
Dan
More information about the erlang-questions
mailing list