Semen Boikov created IGNITE-910:
-----------------------------------
Summary: Assert with near-only tx cache: Cannot have more then one
ready near-local candidate
Key: IGNITE-910
URL: https://issues.apache.org/jira/browse/IGNITE-910
Project: Ignite
Issue Type: Bug
Components: cache
Reporter: Semen Boikov
Assignee: Alexey Goncharuk
Priority: Critical
Fix For: sprint-5
Added test IgniteCacheNearOnlyTxTest.testNearOnlyPutMultithreaded. Test pass,
but there are many errors in the log:
{noformat}
java.lang.AssertionError: Cannot have more then one ready near-local candidate
[c=GridCacheMvccCandidate [nodeId=1009df79-3666-4aa3-8136-0b9afbb16001,
ver=GridCacheVersion [topVer=43228250, nodeOrderDrId=2,
globalTime=1431748254111, order=1431748248330], timeout=0, ts=1431748254106,
threadId=181, id=282, topVer=AffinityTopologyVersion [topVer=-1,
minorTopVer=0], reentry=null, otherNodeId=null, otherVer=GridCacheVersion
[topVer=43228250, nodeOrderDrId=1, globalTime=1431748254113,
order=1431748248332], mappedDhtNodes=null, mappedNearNodes=null, ownerVer=null,
key=KeyCacheObjectImpl [val=1, hasValBytes=true],
masks=local=1|owner=0|ready=1|reentry=0|used=0|tx=1|single_implicit=0|dht_local=0|near_local=1|removed=0,
prevVer=null, nextVer=null], cand=GridCacheMvccCandidate
[nodeId=1009df79-3666-4aa3-8136-0b9afbb16001, ver=GridCacheVersion
[topVer=43228250, nodeOrderDrId=2, globalTime=1431748254110,
order=1431748248323], timeout=0, ts=1431748254106, threadId=182, id=279,
topVer=AffinityTopologyVersion [topVer=-1, minorTopVer=0], reentry=null,
otherNodeId=null, otherVer=GridCacheVersion [topVer=43228250, nodeOrderDrId=1,
globalTime=1431748254112, order=1431748248328], mappedDhtNodes=null,
mappedNearNodes=null, ownerVer=null, key=KeyCacheObjectImpl [val=1,
hasValBytes=true],
masks=local=1|owner=0|ready=1|reentry=0|used=0|tx=1|single_implicit=0|dht_local=0|near_local=1|removed=0,
prevVer=null, nextVer=null], mvcc=GridCacheMvcc [locs=[GridCacheMvccCandidate
[nodeId=1009df79-3666-4aa3-8136-0b9afbb16001, ver=GridCacheVersion
[topVer=43228250, nodeOrderDrId=2, globalTime=1431748254111,
order=1431748248331], timeout=0, ts=1431748254106, threadId=184, id=283,
topVer=AffinityTopologyVersion [topVer=-1, minorTopVer=0], reentry=null,
otherNodeId=null, otherVer=GridCacheVersion [topVer=43228250, nodeOrderDrId=1,
globalTime=1431748254113, order=1431748248333], mappedDhtNodes=null,
mappedNearNodes=null, ownerVer=null, key=KeyCacheObjectImpl [val=1,
hasValBytes=true],
masks=local=1|owner=1|ready=1|reentry=0|used=0|tx=1|single_implicit=0|dht_local=0|near_local=1|removed=0,
prevVer=null, nextVer=null], GridCacheMvccCandidate
[nodeId=1009df79-3666-4aa3-8136-0b9afbb16001, ver=GridCacheVersion
[topVer=43228250, nodeOrderDrId=2, globalTime=1431748254111,
order=1431748248330], timeout=0, ts=1431748254106, threadId=181, id=282,
topVer=AffinityTopologyVersion [topVer=-1, minorTopVer=0], reentry=null,
otherNodeId=null, otherVer=GridCacheVersion [topVer=43228250, nodeOrderDrId=1,
globalTime=1431748254113, order=1431748248332], mappedDhtNodes=null,
mappedNearNodes=null, ownerVer=null, key=KeyCacheObjectImpl [val=1,
hasValBytes=true],
masks=local=1|owner=0|ready=1|reentry=0|used=0|tx=1|single_implicit=0|dht_local=0|near_local=1|removed=0,
prevVer=null, nextVer=null], GridCacheMvccCandidate
[nodeId=1009df79-3666-4aa3-8136-0b9afbb16001, ver=GridCacheVersion
[topVer=43228250, nodeOrderDrId=2, globalTime=1431748254110,
order=1431748248323], timeout=0, ts=1431748254106, threadId=182, id=279,
topVer=AffinityTopologyVersion [topVer=-1, minorTopVer=0], reentry=null,
otherNodeId=null, otherVer=GridCacheVersion [topVer=43228250, nodeOrderDrId=1,
globalTime=1431748254112, order=1431748248328], mappedDhtNodes=null,
mappedNearNodes=null, ownerVer=null, key=KeyCacheObjectImpl [val=1,
hasValBytes=true],
masks=local=1|owner=0|ready=1|reentry=0|used=0|tx=1|single_implicit=0|dht_local=0|near_local=1|removed=0,
prevVer=null, nextVer=null], GridCacheMvccCandidate
[nodeId=1009df79-3666-4aa3-8136-0b9afbb16001, ver=GridCacheVersion
[topVer=43228250, nodeOrderDrId=2, globalTime=1431748254110,
order=1431748248325], timeout=0, ts=1431748254106, threadId=180, id=280,
topVer=AffinityTopologyVersion [topVer=-1, minorTopVer=0], reentry=null,
otherNodeId=null, otherVer=null, mappedDhtNodes=null, mappedNearNodes=null,
ownerVer=null, key=KeyCacheObjectImpl [val=1, hasValBytes=true],
masks=local=1|owner=0|ready=0|reentry=0|used=0|tx=1|single_implicit=0|dht_local=0|near_local=1|removed=0,
prevVer=null, nextVer=null], GridCacheMvccCandidate
[nodeId=1009df79-3666-4aa3-8136-0b9afbb16001, ver=GridCacheVersion
[topVer=43228250, nodeOrderDrId=2, globalTime=1431748254110,
order=1431748248327], timeout=0, ts=1431748254106, threadId=183, id=281,
topVer=AffinityTopologyVersion [topVer=-1, minorTopVer=0], reentry=null,
otherNodeId=null, otherVer=GridCacheVersion [topVer=43228250, nodeOrderDrId=1,
globalTime=1431748254112, order=1431748248330], mappedDhtNodes=null,
mappedNearNodes=null, ownerVer=null, key=KeyCacheObjectImpl [val=1,
hasValBytes=true],
masks=local=1|owner=0|ready=1|reentry=0|used=0|tx=1|single_implicit=0|dht_local=0|near_local=1|removed=0,
prevVer=null, nextVer=null]], rmts=null]]
at
org.apache.ignite.internal.processors.cache.GridCacheMvcc.readyNearLocal(GridCacheMvcc.java:693)
at
org.apache.ignite.internal.processors.cache.distributed.GridDistributedCacheEntry.readyNearLock(GridDistributedCacheEntry.java:542)
at
org.apache.ignite.internal.processors.cache.distributed.near.GridNearTxLocal.readyNearLocks(GridNearTxLocal.java:564)
at
org.apache.ignite.internal.processors.cache.distributed.near.GridNearTxPrepareFutureAdapter.onPrepareResponse(GridNearTxPrepareFutureAdapter.java:223)
at
org.apache.ignite.internal.processors.cache.distributed.near.GridNearOptimisticTxPrepareFuture$MiniFuture.onResult(GridNearOptimisticTxPrepareFuture.java:751)
at
org.apache.ignite.internal.processors.cache.distributed.near.GridNearOptimisticTxPrepareFuture.onResult(GridNearOptimisticTxPrepareFuture.java:171)
at
org.apache.ignite.internal.processors.cache.transactions.IgniteTxHandler.processNearTxPrepareResponse(IgniteTxHandler.java:359)
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)