<div dir="ltr">You need to call mnesia:wait_for_tables/2 before accessing it.<div><br></div><div>/Dan</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Dec 4, 2013 at 11:30 AM, Wiesław Bieniek <span dir="ltr"><<a href="mailto:wieslaw.bieniek@comarch.pl" target="_blank">wieslaw.bieniek@comarch.pl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  

    
  
  <div text="#000000" bgcolor="#FFFFFF">
    Hello,<br>
    <br>
    I've ecountered following problem:<br>
    <br>
    1. There are 2 nodes up.<br>
    2. One of them has table as disc_only_copies<br>
    3. Second one is trying to write to this table remotely<br>
    4. Sometimes the error occurs: Mnesia('<a href="mailto:radius01v2@10.70.152.67" target="_blank">radius01v2@10.70.152.67</a>'): **
    ERROR ** (ignoring core) ** FATAL ** mnesia_controller crashed:
    {no_exists,<br>
                                                                                                          
    {tTable,<br>
                                                                                                           
    where_to_commit}} state: {state,<br>
                                                                                                                                     
    <0.603.0>,<br>
                                                                                                                                     
    true,<br>
                                                                                                                                     
    [],<br>
                                                                                                                                     
    [],<br>
                                                                                                                                     
    {0,<br>
                                                                                                                                      
    nil},<br>
                                                                                                                                     
    [],<br>
                                                                                                                                     
    [],<br>
                                                                                                                                     
    {0,<br>
                                                                                                                                      
    nil},<br>
                                                                                                                                     
    undefined,<br>
                                                                                                                                     
    [],<br>
                                                                                                                                     
    [],<br>
                                                                                                                                     
    #Ref<0.0.175.61285>,<br>
                                                                                                                                     
    false}<br>
    5. Then after several tries mnesia reaches max_restarts and whole
    node is shutting down.<br>
    <br>
    The question is:<br>
    <br>
    What could cause the problem ?<span class="HOEnZb"><font color="#888888"><br>
    <br>
    <br>
    <div>-- <br>
      <span style="font-family:Arial,Helvetica,sans-serif;font-size:9pt;color:#4d4d4d">
        <strong>Wiesław Bieniek</strong><br>
         
        Designer Telco BSS R&D<br>
        <br>
        tel. <a href="tel:%2B48%2012%20646%2012%2066" value="+48126461266" target="_blank">+48 12 646 12 66</a><br>
        website: <a href="http://www.comarch.pl" target="_blank">www.comarch.pl</a>
      </span></div>
  </font></span></div>

<br>_______________________________________________<br>
erlang-bugs mailing list<br>
<a href="mailto:erlang-bugs@erlang.org">erlang-bugs@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-bugs" target="_blank">http://erlang.org/mailman/listinfo/erlang-bugs</a><br>
<br></blockquote></div><br></div>