<div dir="ltr">Using unsplit was the original intent :)<div><br></div><div>However, my case is much simpler, I do not need to solve conflicts. The only thing I really need is to:</div><div><ul><li>Take what is on NodeA and add it to NodeB's table</li><li>Take what is on NodeB and add it to NodeA's table</li></ul></div><div>I took most of the unsplit code and heavily simplified it to my case :)</div><div><br></div><div>Thank you Ulf,</div><div>r.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 4, 2015 at 11:21 AM, Ulf Wiger <span dir="ltr"><<a href="mailto:ulf@feuerlabs.com" target="_blank">ulf@feuerlabs.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><span class=""><br><div><blockquote type="cite"><div>On 03 Mar 2015, at 21:32, Roberto Ostinelli <<a href="mailto:roberto@widetag.com" target="_blank">roberto@widetag.com</a>> wrote:</div><br><div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">I've seen in Ulf's unsplit that the function<span> </span><font face="monospace, monospace">mnesia_controller:connect_nodes/2</font><span> </span>is used to reconnect nodes. However, I cannot find any documentation for this function and I wander if that would be a good option.</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Any idea on how to reconnect nodes and have mnesia act "normal" again after a partitioned event without stopping/starting it?</div></div></blockquote><br></div></span><div>That function was actually added in order to make unsplit work, but as you’ve noted, it’s not part of the documented API.</div><div><br></div><div>If it works for unsplit, it ought to work for you, but another option would be to actually use unsplit, distancing yourself one step from the use of an undocumented function. ;-)</div><div><br></div><div>BR,</div><div>Ulf W</div><br><div>
<span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div><div>Ulf Wiger, Co-founder & Developer Advocate, Feuerlabs Inc.</div><div><a href="http://feuerlabs.com" target="_blank">http://feuerlabs.com</a></div></div><div><br></div></span><br>
</div>
<br></div></blockquote></div><br></div>