simulate a transaction

Sean Cribbs sean at basho.com
Thu Apr 4 10:01:02 EDT 2013


Brisa,

You cannot simulate transactions, really (see also
http://aphyr.com/posts/254-burn-the-library). However, if you want to
receive notifications and take action when something happens, you can
add a postcommit hook (see
http://docs.basho.com/riak/latest/references/appendices/concepts/Commit-Hooks/).
In the past, developers have added hooks that push updates into a
RabbitMQ broker or ZeroMQ channel.

On Wed, Apr 3, 2013 at 7:59 PM, Brisa Jiménez <brisa.jimenez.f at gmail.com> wrote:
> Hi,
> I want to simulate a transaction.
> I want to know when a riak operation happens.
> I know that riak isn't a relational database, but it is important for me in
> particular cases to undo operations when something goes wrong.
> Any have any suggestion for me about I want to do?
> Thank you very much.
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>



-- 
Sean Cribbs <sean at basho.com>
Software Engineer
Basho Technologies, Inc.
http://basho.com/




More information about the riak-users mailing list