phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas D'Silva" <tdsi...@salesforce.com>
Subject Re: Using transaction in custom coprocessor
Date Wed, 20 Apr 2016 19:18:15 GMT
It is possible to use a transaction started by a client in a coprocessor.
The transaction is serialized as the TxConstants.TX_OPERATION_ATTRIBUTE_KEY
attribute on the operation.

On Wed, Apr 13, 2016 at 7:42 AM, Mohammad Adnan Raza <adnanfaizan@gmail.com>
wrote:

> Hello everyone,
>
> I have requirement to use transaction in my project. My requirement is - a
> client starts transaction and do some upsert operation. I'll have a
> coprocessor that will do few more puts. Now what I want is all these
> operation should go in single transaction. Meaning if client rollbacks her
> transaction my puts in coprocessor should also get rolledback.
>
> My question is . is it possible to use transaction started in client in
> coprocessors?
>
>
> --
>
> *With Best Regards,*
>
> *       Mohammad Adnan*
>

Mime
View raw message