<div dir="ltr">how much guarantee do you need that the rollback happens and when do you need that to be the case?<div><br></div><div style>Do you need ACID or do you just want to clean up most of the time, eventually, unless several things fail around the same time and it's ok to forget to clean up sometimes?</div>
<div style><br></div><div style>For certain data models and usage patterns something similar to meshup's riak integration could be useful.</div><div style><br></div><div style>However, I agree with Daniil - if you want a global consistent view, just go with something made for that.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 4 April 2013 02:58, Brisa Jiménez <span dir="ltr"><<a href="mailto:brisa.jimenez.f@gmail.com" target="_blank">brisa.jimenez.f@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">    I want to simulate a transaction.</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">    I want to know when a riak operation happens.</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">    I know that riak isn't a relational database, but it is important for me in</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">    particular cases to undo operations when something goes wrong.</span><br style="font-family:arial,sans-serif;font-size:13px">

<span style="font-family:arial,sans-serif;font-size:13px">    I'm reading about how to use dbg library to trace functions, I hope that it</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">    will be useful to use inside a module.</span><br style="font-family:arial,sans-serif;font-size:13px">

<span style="font-family:arial,sans-serif;font-size:13px">    If any have suggestions about I want to do, I will be very grateful.</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">    Regards.</span><br>

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