<div dir="ltr"><div><div>Hello,<br><br>I have a system of two Erlang nodes, that use a clustered mnesia. Sometimes startup of the database takes very long (tens of minutes). After enabling mnesia event logging I see the following message repeated:<br><br>    mnesia_system_event:mnesia_info:<br>        Restarting transaction {tid,143589,<0.1351.0>}: in 10ms<br>        {cyclic,<br>            '<a href="mailto:some-node@some-node.eu">some-node@some-node.eu</a>',<br>            {schema,'______WHOLETABLE_____'},<br>            write,write,{tid,143588,<0.1333.0>}<br>        }<br><br>After a second I am getting the following event:<br><br>    Sync serial {tid,143589,<0.1351.0>}<br><br></div>And then "Restarting transaction" events are repeated with increasing time intervals. TID is remaining the same.<br><br></div><div>How to determine, why the transaction cannot be restarted. What can I do to to avoid such situations or how to recover from them.<br><br></div><div>I have set {max_wait_for_decision, 300000} (5 min) for Mnesia as well as {auto_repair, true} in sys.config.<br></div><div><br></div>Karolis<br><div><div><div><br><br></div></div></div></div>