When optimistic transaction occures, there is a lock on entities -
org.apache.ignite.internal.processors.cache.transactions.IgniteTxManager#lockMultiple
Don't you know, why there is a strange string inside this method :
assert !entry1.detached() : "Expected non-detached entry for near
transaction " +
"[locNodeId=" + cctx.localNodeId() + ", entry=" + entry1 + ']';
As far as I know, detached entry is one, created by non-local node.
ср, 22 мар. 2017 г. в 18:08, Alexander Fedotov <[email protected]
>:
> Hi,
>
> These messages are part of 2-phase commit protocol.
> They are sent from a primary node to backup nodes.
>
>
> On Mon, Mar 20, 2017 at 7:41 PM, ALEKSEY KUZNETSOV <
> [email protected]
> > wrote:
>
> > Hi all!
> > What is the point of sending GridDhtTxPrepareRequest and
> > GridDhtTxPrepareResponse messages?
> > What is the logic behind processDhtTxFinishRequest and
> > processDhtTxPrepareResponse ?
> > --
> >
> > *Best Regards,*
> >
> > *Kuznetsov Aleksey*
> >
>
>
>
> --
> Kind regards,
> Alex.
>
--
*Best Regards,*
*Kuznetsov Aleksey*