Hi

MYCACHE is the name of the cache that is being used. We are observing the
below Exception in server logs: cache mode : TRANSACTIONAL , PESSIMISTIC ,
REPEATABLE_READ

[01:46:41,022][SEVERE][grid-timeout-worker-#135][GridDhtColocatedCache]
<MYCACHE> Failed to acquire lock for request: GridNearLockRequest
[topVer=AffinityTopologyVersion [topVer=165, minorTopVer=0], miniId=1,
dhtVers=[null, null, null, null, null, null, null, null, null, null, null,
null, null, null, null, null, null, null, null, null, null, null, null,
null, null, null, null, null, null, null, null, null, null, null, null,
null, null, null, null, null, null, null, null, null, null, null, null,
null, null, null, null, null], subjId=d669161f-60d6-4d5d-89d2-31fbaf38c3ef,
taskNameHash=0, createTtl=-1, accessTtl=-1, flags=7, filter=null,
super=GridDistributedLockRequest
[nodeId=d669161f-60d6-4d5d-89d2-31fbaf38c3ef, nearXidVer=GridCacheVersion
[topVer=151116344, order=1540895195350, nodeOrder=159], threadId=557,
futId=8f77c6a7661-f7f675c6-2a1a-4f4f-9d74-054d7905822e, timeout=53696,
isInTx=true, isInvalidate=false, isRead=true, isolation=REPEATABLE_READ,
retVals=[true, true, true, true, true, true, true, true, true, true, true,
true, true, true, true, true, true, true, true, true, true, true, true,
true, true, true, true, true, true, true, true, true, true, true, true,
true, true, true, true, true, true, true, true, true, true, true, true,
true, true, true, true, true], txSize=0, flags=0, keysCnt=52,
super=GridDistributedBaseMessage [ver=GridCacheVersion [topVer=151116344,
order=1540895195350, nodeOrder=159], committedVers=null,
rolledbackVers=null, cnt=0, super=GridCacheIdMessage [cacheId=1737458824]]]]
class
org.apache.ignite.internal.transactions.IgniteTxTimeoutCheckedException:
Failed to acquire lock within provided timeout for transaction
[timeout=53696, 

Following are my concerns:

1. dhtVers=[null, null, null, null, null, null, null, null, null, null,
null, null, null, null, null, null, null, null, null, null, null, null,
null, null, null, null, null, null, null, null, null, null, null, null,
null, null, null, null, null, null, null, null, null, null, null, null,
null, null, null, null, null, null].  What does this mean or indicate ?

2. The transaction timeout set by us is 60000. But the timeout in exception
message is : timeout=53696.
According to :
http://apache-ignite-users.70518.x6.nabble.com/Ignite-2-0-transaction-timeout-not-holding-up-td16462.html
: It means that in a transaction different nodes are involved in locking.
But in our logic we use affinity and all locks should happen with in same
partition/node due to same affinity key . Is it possible that lock is being
acquired on backup partition also and failed ?

Please let us know the possibilities for cause of this Exception.




--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to