Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-1345 Cache stability issues in load/failover tests
  3. IGNITE-910

Assert with near-only tx cache: Cannot have more then one ready near-local candidate

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • None
    • cache
    • None

    Description

      Added test IgniteCacheNearOnlyTxTest.testNearOnlyPutMultithreaded. Test pass, but there are many errors in the log:

      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)
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sboikov Semen Boikov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: