<div dir="ltr">On 18 March 2014 21:38, Daniel Dormont <span dir="ltr"><<a href="mailto:dan@greywallsoftware.com" target="_blank">dan@greywallsoftware.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all,<br>
<br>
Can a Mnesia cluster exist across two OTP releases, specifically R15B<br>
and R16B? I'm testing some upgrades here and seeing this error about<br>
two minutes after trying to join a node running R16B to an existing<br>
cluster running R15B:<br></blockquote><div><br>The simplest way to test this is to try this on two standalone nodes, one running R15B and the other R16B. I've tried this, and had no problem joining an R15B-1 node into an R16B-2 node.<br>
<br>You say "trying to join", how exactly are you doing this? When a node joins an existing mnesia installation, it should not have a schema of its own.<br><br></div><div>Chandru<br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
=ERROR REPORT==== 2014-03-18 17:13:29 ===<br>
Mnesia('<a href="mailto:ejabberd@chat-stg-01.ec2-int.veoci.com">ejabberd@chat-stg-01.ec2-int.veoci.com</a>'): ** ERROR ** (core<br>
dumped to file:<br>
"/var/lib/ejabberd/MnesiaCore.ejabberd@my-node-name_1395_177209_319048")<br>
** FATAL ** Schema update error {{badmatch,<br>
{error,<br>
{bad_object_header,<br>
"/var/lib/ejabberd/schema.DAT"}}},<br>
[{mnesia_dumper,dets_insert,4,<br>
[{file,"mnesia_dumper.erl"},{line,342}]},<br>
{mnesia_dumper,insert_cstruct,5,<br>
[{file,"mnesia_dumper.erl"},{line,1117}]},<br>
{mnesia_dumper,insert_ops,6,<br>
[{file,"mnesia_dumper.erl"},{line,309}]},<br>
{mnesia_dumper,perform_update,4,<br>
[{file,"mnesia_dumper.erl"},{line,292}]},<br>
{mnesia_dumper,update,3,<br>
[{file,"mnesia_dumper.erl"},{line,273}]},<br>
{mnesia_tm,do_commit,3,<br>
[{file,"mnesia_tm.erl"},{line,1780}]},<br>
{mnesia_tm,commit_participant,6,<br>
<br>
[{file,"mnesia_tm.erl"},{line,1699}]}]} [{op,<br>
<br>
merge_schema,<br>
<br>
[{name,<br>
<br>
... etc.<br>
<br>
If not, are there strategies for dealing with such an upgrade? Or is<br>
this caused by something else entirely?<br>
<br>
Thanks,<br>
Dan<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div><br></div></div>