simulate a transaction
guido.medina at temetra.com
Thu Apr 4 10:33:31 EDT 2013
At least on two-phase commit enabled environment you can implement the
rollback to "undo" your action, you expect things to go right and a very
small % to go wrong, so implementing a rollback policy isn't such a bad
idea, I had to do the same years ago for a payment client, when things
went wrong on our DB, we send a revert payment, since once the payment
was gone, it had no transactional behaviour so we had to implement a
Hope that helps,
On 04/04/13 15:01, Sean Cribbs wrote:
> 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
> 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:
>> 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
More information about the riak-users