<div dir="ltr">You are never guaranteed that every operation is written disc before quitting abruptly,<div>dump_log() or mnesia:sync_log() may help or more nodes so you can handle single node failure.</div><div><br><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Apr 21, 2017 at 11:58 AM Arun <<a href="mailto:arunp@utl.in">arunp@utl.in</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
Hi Maxim,<br>
<br>
I already tried wait for tables, but it gives me time out. I
strongly believe that in schema the information related to the table
is getting missed or corrupted, can this be possible.?<br>
<br>
Regards,<br>
Arun P</div><div text="#000000" bgcolor="#FFFFFF"><br>
<br>
<div class="m_-7329568204823499005moz-cite-prefix">On Friday 21 April 2017 12:23 PM, Minin
Maxim wrote:<br>
</div>
<blockquote type="cite">
<div class="m_-7329568204823499005WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">see - <a href="http://erlang.org/doc/man/mnesia.html#wait_for_tables-2" target="_blank">http://erlang.org/doc/man/mnesia.html#wait_for_tables-2</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal">Cheers<u></u><u></u></p>
<p class="MsoNormal">Maxim<u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">Von:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">
<a class="m_-7329568204823499005moz-txt-link-abbreviated" href="mailto:erlang-questions-bounces@erlang.org" target="_blank">erlang-questions-bounces@erlang.org</a>
[<a class="m_-7329568204823499005moz-txt-link-freetext" href="mailto:erlang-questions-bounces@erlang.org" target="_blank">mailto:erlang-questions-bounces@erlang.org</a>]
<b>Im Auftrag von </b>Arun<br>
<b>Gesendet:</b> Freitag, 21. April 2017 08:00<br>
<b>An:</b> <a class="m_-7329568204823499005moz-txt-link-abbreviated" href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<b>Betreff:</b> [erlang-questions] Mnesia table is not
available after restart<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Hi,<br>
<br>
I am running an application on a single node and the
application creates some <b>
ram copies</b> tables on the same node, but the problem what
I am facing is that, if I restart my system suddenly after
successful creation of all tables, in the next start the table
which got created last is missing, but if I give some delay
after creation of tables and restart the system all tables
will be available in the next start. In mnesia reference
manual and users guide I could not find a proper solution to
this issue, can somebody kindly explain what is the reason
behind this behavior and is there any solution for this ?.
Will the function mnesia:dump_log/0 be helpful ?<br>
<br>
Regards,<br>
Arun P<u></u><u></u></p>
</div>
</blockquote>
<br>
</div>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div>