ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Semen Boikov (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (IGNITE-781) Cache full api tests with FairAffinityFunction fail
Date Tue, 21 Apr 2015 12:50:58 GMT

     [ https://issues.apache.org/jira/browse/IGNITE-781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Semen Boikov resolved IGNITE-781.
---------------------------------
    Resolution: Fixed

> Cache full api tests with FairAffinityFunction fail
> ---------------------------------------------------
>
>                 Key: IGNITE-781
>                 URL: https://issues.apache.org/jira/browse/IGNITE-781
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>            Reporter: Semen Boikov
>            Assignee: Semen Boikov
>            Priority: Critical
>             Fix For: sprint-4
>
>
> Added cache full api test with fair affinity, it fails with assert:
> {noformat}
> java.lang.AssertionError: Invalid entry assigned to tx entry [txEntry=IgniteTxEntry [key=KeyCacheObjectImpl
[val=key, hasValBytes=true], cacheId=1, txKey=IgniteTxKey [key=KeyCacheObjectImpl [val=key,
hasValBytes=true], cacheId=1], val=[op=DELETE, val=null], prevVal=[op=NOOP, val=null], entryProcessorsCol=null,
ttl=-1, conflictExpireTime=-1, conflictVer=null, explicitVer=null, dhtVer=null, filters=[],
filtersPassed=false, filtersSet=true, entry=GridNearCacheEntry [topVer=4, dhtVer=GridCacheVersion
[topVer=41089706, nodeOrderDrId=3, globalTime=1429609710539, order=1429609705510], part=139,
super=GridDistributedCacheEntry [super=GridCacheMapEntry [key=KeyCacheObjectImpl [val=key,
hasValBytes=true], val=CacheObjectImpl [val=1, hasValBytes=true], startVer=1429609705513,
ver=GridCacheVersion [topVer=41089706, nodeOrderDrId=3, globalTime=1429609710539, order=1429609705510],
hash=1773979932, extras=GridCacheMvccEntryExtras [mvcc=GridCacheMvcc [locs=[GridCacheMvccCandidate
[nodeId=e173dfab-b656-4f3c-9df1-e479a1b2c577, ver=GridCacheVersion [topVer=41089706, nodeOrderDrId=3,
globalTime=1429609710633, order=1429609705512], timeout=0, ts=1429609710628, threadId=180,
id=4, topVer=AffinityTopologyVersion [topVer=-1, minorTopVer=0], reentry=null, otherNodeId=null,
otherVer=null, mappedDhtNodes=null, mappedNearNodes=null, ownerVer=null, key=KeyCacheObjectImpl
[val=key, hasValBytes=true], masks=local=1|owner=0|ready=0|reentry=0|used=0|tx=1|single_implicit=1|dht_local=0|near_local=1|removed=0,
prevVer=null, nextVer=null]], rmts=null]], flags=0]]], prepared=true, locked=false, nodeId=e173dfab-b656-4f3c-9df1-e479a1b2c577,
locMapped=false, grpLock=false, expiryPlc=null, transferExpiryPlc=false, xidVer=GridCacheVersion
[topVer=41089706, nodeOrderDrId=3, globalTime=1429609710633, order=1429609705512]], entry=GridDhtCacheEntry
[rdrs=[ReaderId [nodeId=c622a072-b494-4f4c-9828-db248af5c20a, msgId=59, txFut=null]], locPart=GridDhtLocalPartition
[id=139, mapPubSize=1, rmvQueue=GridCircularBuffer [sizeMask=63, idxGen=0], state=OWNING,
reservations=0, empty=false, createTime=04/21/2015 13:48:24, mapPubSize=1], super=GridDistributedCacheEntry
[super=GridCacheMapEntry [key=KeyCacheObjectImpl [val=key, hasValBytes=true], val=CacheObjectImpl
[val=1, hasValBytes=true], startVer=1429609705509, ver=GridCacheVersion [topVer=41089706,
nodeOrderDrId=3, globalTime=1429609710539, order=1429609705510], hash=1773979932, extras=null,
flags=2]]], ctxNear=true, ctxDht=false]
> 	at org.apache.ignite.internal.processors.cache.transactions.IgniteTxEntry.cached(IgniteTxEntry.java:429)
> 	at org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtTxLocalAdapter.addEntry(GridDhtTxLocalAdapter.java:498)
> 	at org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtTxLocal.prepareAsync(GridDhtTxLocal.java:444)
> 	at org.apache.ignite.internal.processors.cache.transactions.IgniteTxHandler.prepareNearTx(IgniteTxHandler.java:311)
> 	at org.apache.ignite.internal.processors.cache.transactions.IgniteTxHandler.prepareTx(IgniteTxHandler.java:160)
> 	at org.apache.ignite.internal.processors.cache.transactions.IgniteTxHandler.processNearTxPrepareRequest(IgniteTxHandler.java:58)
> 	at org.apache.ignite.internal.processors.cache.transactions.IgniteTxHandler$1.apply(IgniteTxHandler.java:71)
> 	at org.apache.ignite.internal.processors.cache.transactions.IgniteTxHandler$1.apply(IgniteTxHandler.java:69)
> 	at org.apache.ignite.internal.processors.cache.GridCacheIoManager.processMessage(GridCacheIoManager.java:322)
> 	at org.apache.ignite.internal.processors.cache.GridCacheIoManager.onMessage0(GridCacheIoManager.java:235)
> 	at org.apache.ignite.internal.processors.cache.GridCacheIoManager.handleMessage(GridCacheIoManager.java:156)
> 	at org.apache.ignite.internal.processors.cache.GridCacheIoManager.access$000(GridCacheIoManager.java:45)
> 	at org.apache.ignite.internal.processors.cache.GridCacheIoManager$1.onMessage(GridCacheIoManager.java:124)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message