Further information:<div>1)  The table is question does exist, has existed, and has been running for a while.</div><div>2)  safe_fixtable fails with badarg if the table does not exist.</div><div><br></div><div>#1 runs for a good long while (month?) and then suddenly #2 pops up.    Why does mnesia 'lose' the table?</div>
<div><br></div><div>Here's more context</div><div><br></div><div><snip></div><div><div>===== ALIVE Tue Jul 31 17:22:07 PDT 2012</div><div><br></div><div>===== ALIVE Tue Jul 31 17:37:07 PDT 2012</div><div><br></div>
<div>===== ALIVE Tue Jul 31 17:52:07 PDT 2012</div><div><br></div><div>===== Tue Jul 31 18:04:17 PDT 2012</div><div><br></div><div>=ERROR REPORT==== 31-Jul-2012::18:04:17 ===</div><div>Error in process <0.15759.10> on node '<redacted>' with exit value: {badarg,</div>
<div>[{ets,safe_fixtable,[px_channel_log,false]},{mnesia_lib,db_fixtable,3},</div><div>{mnesia_loader,cleanup_tab_copier,3},{mnesia_loader,send_table,3},{mnesia_controller,send_and_reply,2}]}</div><div><br></div><div><br>
</div><div>=====</div><div>===== LOGGING STARTED Tue Jul 31 18:04:19 PDT 2012</div><div>=====</div><div>Exec: /usr/local/chat-game-gwm/current/erts-5.8.4/bin/erlexec -boot /usr/local/chat-game-gwm/current/releases/1/chat -mode </div>
<div>embedded -config /usr/local/chat-game-gwm/current/etc/app.config -args_file /usr/local/chat-game-gwm/current/etc/vm.args --</div><div> console</div><div>Root: /usr/local/chat-game-gwm/current</div><div>Erlang R14B03 (erts-5.8.4) [source] [64-bit] [smp:24:24] [rq:24] [async-threads:64] [hipe] [kernel-poll:true]</div>
<div><br></div><div><br></div><div>=ERROR REPORT==== 31-Jul-2012::18:04:22 ===</div><div>Mnesia('gwm_game@<redacted>'): ** ERROR ** mnesia_event got {inconsistent_database, starting_partitioned_network,</div>
<div>'gwm_game@<redacted>'}</div><div>DEBUG: mnesia_helpers:118 - "{ \"Connecting to cluster: \" , NodeList }"</div><div><br></div><div></end_snip></div><div><br></div><br><div class="gmail_quote">
On Mon, Aug 6, 2012 at 5:04 PM, Mike Oxford <span dir="ltr"><<a href="mailto:moxford@gmail.com" target="_blank">moxford@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div>=ERROR REPORT==== 18-Jun-2012::15:01:49 ===</div><div>Error in process <0.1743.0> on node '<redacted>' with exit value: {badarg,[{ets,safe_fixtable,[px_channel_log,false]},{mnesia_lib,db_fixtable,3},{mnesia_loader,cleanup_tab_copier,3},{mnesia_loader,send_table,3},{mnesia_controller,send_and_re</div>

<div>ply,2}]}</div></div><div><br></div><div>Logging shows it was then restarted and {inconsistent_database, starting_partitioned_network...</div><div><br></div><div>mnesia is Erlang R14B03 (erts-5.8.4) [source] [64-bit] [smp:24:24] [rq:24] [async-threads:64] [hipe] [kernel-poll:true] so it shouldn't fall victim to the safe_fixtable/next issues from R13x</div>

<div><br></div><div>This has happened to us twice now, both times exactly the same error.  System runs other ram_only nodes as well with no issues; this one is a disc_ table with light load.</div><div><br></div><div>Thoughts?</div>

<div><br></div><div>-mox</div><div><br></div><div><br></div><div><br></div>
</blockquote></div><br></div>