[ 
https://issues.apache.org/jira/browse/IGNITE-8440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16478649#comment-16478649
 ] 

Vladislav Pyatkov commented on IGNITE-8440:
-------------------------------------------

[~agura] I can to append only log long running transaction on backup node
{noformat}
2018-04-25 19:31:15.851[WARN 
][grid-timeout-worker-#119%DPL_GRID%DplGridNodeName%][o.apache.ignite.internal.diagnostic]
 Found long running transaction [startTime=18:28:26.274, curTime=19:31:15.847, 
tx=GridDhtTxRemote [nearNodeId=a353fbbb-1949-40c3-92b5-1159b85ca2e9, 
rmtFutId=fb3c4b1f261-04fc3af8-a07f-41c4-8c5a-822cf86b3665, 
nearXidVer=GridCacheVersion [topVer=135927987, order=1526053494926, 
nodeOrder=274], storeWriteThrough=false, super=GridDistributedTxRemoteAdapter 
[explicitVers=null, started=true, commitAllowed=0, 
txState=IgniteTxRemoteSingleStateImpl [entry=IgniteTxEntry 
[key=com.sbt.dpl.gridgain.storages.UniquePrimitiveFieldConstraintCacheBasedVerifier$ConstraintKey
 [idHash=1092340299, hash=595252810, values=[FC180425182742009006062628838423, 
className=com.sbt.pprb.cx.mut.entities.CEPEventEntity, fields=[eventId], 
cacheId=-1946645348, txKey=IgniteTxKey 
[key=com.sbt.dpl.gridgain.storages.UniquePrimitiveFieldConstraintCacheBasedVerifier$ConstraintKey
 [idHash=1092340299, hash=595252810, values=[FC180425182742009006062628838423, 
className=com.sbt.pprb.cx.mut.entities.CEPEventEntity, fields=[eventId], 
cacheId=-1946645348], val=[op=CREATE, val=CacheObjectImpl [val=null, 
hasValBytes=true]], prevVal=[op=NOOP, val=null], oldVal=[op=NOOP, val=null], 
entryProcessorsCol=null, ttl=-1, conflictExpireTime=-1, conflictVer=null, 
explicitVer=null, dhtVer=null, 
filters=[o.a.i.i.processors.cache.CacheEntrySerializablePredicate@625db2b6], 
filtersPassed=false, filtersSet=false, entry=GridDhtCacheEntry [rdrs=[], 
part=20042, super=GridDistributedCacheEntry [super=GridCacheMapEntry 
[key=com.sbt.dpl.gridgain.storages.UniquePrimitiveFieldConstraintCacheBasedVerifier$ConstraintKey
 [idHash=1092340299, hash=595252810, values=[FC180425182742009006062628838423, 
className=com.sbt.pprb.cx.mut.entities.CEPEventEntity, fields=[eventId], 
val=null, startVer=1526053646689, ver=GridCacheVersion [topVer=135927987, 
order=1526053646689, nodeOrder=142], hash=595252810, 
extras=GridCacheMvccEntryExtras [mvcc=GridCacheMvcc [locs=null, 
rmts=[GridCacheMvccCandidate [nodeId=a964ac40-dc1f-4397-9272-238254c280dc, 
ver=GridCacheVersion [topVer=135927987, order=1526053643445, nodeOrder=47], 
threadId=240, id=2245153, topVer=AffinityTopologyVersion [topVer=-1, 
minorTopVer=0], reentry=null, otherNodeId=a353fbbb-1949-40c3-92b5-1159b85ca2e9, 
otherVer=null, mappedDhtNodes=null, mappedNearNodes=null, ownerVer=null, 
serOrder=null, 
key=com.sbt.dpl.gridgain.storages.UniquePrimitiveFieldConstraintCacheBasedVerifier$ConstraintKey
 [idHash=1092340299, hash=595252810, values=[FC180425182742009006062628838423, 
className=com.sbt.pprb.cx.mut.entities.CEPEventEntity, fields=[eventId], 
masks=local=0|owner=0|ready=0|reentry=0|used=0|tx=1|single_implicit=0|dht_local=0|near_local=0|removed=0|read=0,
 prevVer=null, nextVer=null]]]], flags=2]]], prepared=1, locked=false, 
nodeId=null, locMapped=false, expiryPlc=null, transferExpiryPlc=false, flags=0, 
partUpdateCntr=0, serReadVer=null, xidVer=null]], super=IgniteTxAdapter 
[xidVer=GridCacheVersion [topVer=135927987, order=1526053643445, nodeOrder=47], 
writeVer=GridCacheVersion [topVer=135927987, order=1526053643446, 
nodeOrder=47], implicit=false, loc=false, threadId=240, 
startTime=1524670106274, nodeId=a964ac40-dc1f-4397-9272-238254c280dc, 
startVer=GridCacheVersion [topVer=135927987, order=1526053646688, 
nodeOrder=142], endVer=null, isolation=READ_COMMITTED, concurrency=PESSIMISTIC, 
timeout=13255, sysInvalidate=false, sys=false, plc=2, commitVer=null, 
finalizing=NONE, invalidParts=null, state=PREPARED, timedOut=false, 
topVer=AffinityTopologyVersion [topVer=403, minorTopVer=0], duration=3769573ms, 
onePhaseCommit=false]]]]
{noformat}
It hangs on PREPARED about 1 hour.

> Transaction may hangs on node in PREPARED state
> -----------------------------------------------
>
>                 Key: IGNITE-8440
>                 URL: https://issues.apache.org/jira/browse/IGNITE-8440
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Vladislav Pyatkov
>            Priority: Major
>
> In some specific cases we can to see when transaction hangs on one node in 
> {{PREPARED}} state, but does not hang in others.
> That unhappy node waiting to get {{TxFinishRequest}}, but never got it and 
> continue to print _long running transaction message_.
> Should to check other nodes, when transaction hang on PREPARED state without 
> progress.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to