Rickard Oberg wrote:
>
> In the InstanceInterceptor we could add a check if the calling thread not
> only has a tx, but a live tx. If the tx is dead then throw an exception so
> that the rollback functionality is used.
>
> This should be right after the do { I think: have to be done on each loop,
> and as soon as possible.
>
> /Rickard
Hi Rickard,
That's what we did :)
In each loop we check the status of the tx, if it's marked_rollback
(timeout, other part of the tx failed) we give up.
We changed the timeout too: if it rolls back the tx, then the
txinterceptor sees NO_TX. Now it only marks the tx for rollback, and
the rollback is always done in TxInterceptor.
Sebastien