[jbosscache-dev] Re: Rolling back transactions for state transfer

Bela Ban bela at jboss.org
Wed Sep 13 09:36:07 EDT 2006


No, just to local transactions that have not yet started the 2PC

Manik Surtani wrote:
> For locally originating txs (on the sender - if the sender has locked 
> the tree to prepare state) this is correct.  Still though, if (due to 
> network lag) the receiver receives the prepare() before the state, the 
> prepare() will lock the tree.
>
> Are you referring to started transactions started locally on the 
> joiner?  I don't see how this could happen anyway...
>
>
>
> --
> Manik Surtani
>
> Lead, JBoss Cache
> JBoss, a division of Red Hat
>
> Email: manik at jboss.org <mailto:manik at jboss.org>
> Telephone: +44 7786 702 706
> MSN: manik at surtani.org <mailto:manik at surtani.org>
> Yahoo/AIM/Skype: maniksurtani
>
>
> On 13 Sep 2006, at 13:10, Bela Ban wrote:
>
>> Guys,
>>
>> if we use optimistic locking, I think we would *not* need to do this 
>> for locally started transactions, correct ? The workspaces which 
>> contain the work of the local transactions would simply be blocked 
>> when they try to start the 2PC (until state transfer is over), but we 
>> would not need to discard them.
>>
>> Is this correct ?
>> -- 
>> Bela Ban
>> Lead JGroups / Manager JBoss Clustering Group
>> JBoss - a division of Red Hat
>>     
>

-- 
Bela Ban
Lead JGroups / Manager JBoss Clustering Group
JBoss - a division of Red Hat




More information about the jbosscache-dev mailing list