<div dir="ltr"><br><div class="gmail_quote"><div dir="ltr">On Tue, Aug 28, 2018 at 6:12 PM Daniil Fedotov <<a href="mailto:fedotov.danil@gmail.com">fedotov.danil@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br clear="all"><div><div class="m_-5566455829770586315gmail-m_3892922771322707440gmail_signature">Hi,</div><div class="m_-5566455829770586315gmail-m_3892922771322707440gmail_signature"><br></div><div class="m_-5566455829770586315gmail-m_3892922771322707440gmail_signature">In RabbitMQ team we are currently investigating possibilities of improving our use of mnesia by replacing the clustering bit and the native mnesia transactions with a custom mnesia_access module.</div><div class="m_-5566455829770586315gmail-m_3892922771322707440gmail_signature">This is in order to improve partition handling in RabbitMQ, which have been a long standing issue.</div><div class="m_-5566455829770586315gmail-m_3892922771322707440gmail_signature">The `mnesia:activity` API will be the main integration part of this change.<br></div><div class="m_-5566455829770586315gmail-m_3892922771322707440gmail_signature"><br></div><div class="m_-5566455829770586315gmail-m_3892922771322707440gmail_signature">As the RabbitMQ team will have to support this solution for years, we would like to be sure that it will not be deprecated or changed significantly in the future mnesia versions.</div><div class="m_-5566455829770586315gmail-m_3892922771322707440gmail_signature"><br></div><div class="m_-5566455829770586315gmail-m_3892922771322707440gmail_signature">So the question is foes Erlang OTP team have any plans for changing, removing or deprecating the API and will the mnesia_access behaviour be made a proper behaviour to keep the API callbacks in check?</div></div></div></blockquote><div><br></div><div>mnesia_access behaviour is seen as an official API, so that should be a stable API.</div><div>Of course any API can change, so that users of it might need to do changes,</div><div>but it's been stable for many moons now and I see nothing right now that will change the API.</div><div><br></div><div>On the other hand is there anything out there outside of mnesia_frag that uses it? Your "new" usage might find bugs in API which might force us to change that.</div><div><br></div><div>A new behaviour will probably not be prioritized by us, if you want/require that do a PR including tests and documentation.</div><div><br></div><div>/Dan</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div class="m_-5566455829770586315gmail-m_3892922771322707440gmail_signature"><br></div><div class="m_-5566455829770586315gmail-m_3892922771322707440gmail_signature">Thanks.</div><span class="m_-5566455829770586315gmail-HOEnZb m_-5566455829770586315gmail-adL"><font color="#888888"><div class="m_-5566455829770586315gmail-m_3892922771322707440gmail_signature"><br></div><div class="m_-5566455829770586315gmail-m_3892922771322707440gmail_signature">Daniil Fedotov,</div><div class="m_-5566455829770586315gmail-m_3892922771322707440gmail_signature">RabbitMQ team.</div></font></span></div></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></div>