[
https://issues.apache.org/jira/browse/IGNITE-5682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16082614#comment-16082614
]
Dmitriy Pavlov commented on IGNITE-5682:
----------------------------------------
For this test delayed and then replayed messages contains top.version=-1 and
partCntrs are null
For example for cache 1544803905 map is node 099b4... is owner according to
this message
{noformat}
Replay: GridIoMessage [plc=2, topic=TOPIC_CACHE, topicOrd=8, ordered=false,
timeout=0, skipOnTimeout=false, msg=GridDhtPartitionsFullMessage [parts={
1544803905=GridDhtPartitionFullMap
[nodeId=099b4d86-a9c4-44aa-998d-693a71e00000, nodeOrder=1, updateSeq=463,
size=5],
-2100569601=GridDhtPartitionFullMap
[nodeId=099b4d86-a9c4-44aa-998d-693a71e00000, nodeOrder=1, updateSeq=87,
size=5]},
partCntrs=null, partHistSuppliers=null, partsToReload=null,
topVer=AffinityTopologyVersion [topVer=-1, minorTopVer=0],
errs=null, compress=true, partCnt=2,
super=GridDhtPartitionsAbstractMessage [exchId=null, lastVer=null, flags=1,
super=GridCacheMessage [msgId=222, depInfo=null, err=null, skipPrepare=false]]]]
{noformat}
Then code supposes affNodes should include this node 099b4...
{noformat}
1, cache=default,
cacheId=1544803905,
topVer=AffinityTopologyVersion [topVer=10, minorTopVer=0], p=0, affNodesCnt=2,
ownersCnt=1,
affNodes=[b36088d1-22d2-4aff-aacc-c8ea02b00004,
099b4d86-a9c4-44aa-998d-693a71e00000],
owners=[b36088d1-22d2-4aff-aacc-c8ea02b00004],
{noformat}
It seems for this test passing we require some mark that delayed message may be
ignored: Either partition counter or toplogy version
> GridCacheRabalancingDelayedPartitionMapExchangeSelfTest fails
> -------------------------------------------------------------
>
> Key: IGNITE-5682
> URL: https://issues.apache.org/jira/browse/IGNITE-5682
> Project: Ignite
> Issue Type: Bug
> Components: cache
> Reporter: Vladimir Ozerov
> Assignee: Dmitriy Pavlov
> Labels: test-fail
> Fix For: 2.1
>
> Attachments: ignite-5682.dump.txt
>
>
> This appears to be a regression introduced during persistent store migration.
> {code}
> class org.apache.ignite.IgniteException: Timeout of waiting for topology map
> update
> [igniteInstanceName=rebalancing.GridCacheRabalancingDelayedPartitionMapExchangeSelfTest1,
> cache=default, cacheId=1544803905, topVer=AffinityTopologyVersion
> [topVer=10, minorTopVer=0], p=0, readVer=AffinityTopologyVersion [topVer=10,
> minorTopVer=0], locNode=TcpDiscoveryNode
> [id=c53cc66c-05ea-4441-825c-23d99ef00001, addrs=[127.0.0.1],
> sockAddrs=[/127.0.0.1:47501], discPort=47501, order=2, intOrder=2,
> lastExchangeTime=1499156862204, loc=true, ver=2.1.0#19700101-sha1:00000000,
> isClient=false]]
> at
> org.apache.ignite.testframework.junits.common.GridCommonAbstractTest.awaitPartitionMapExchange(GridCommonAbstractTest.java:698)
> at
> org.apache.ignite.testframework.junits.common.GridCommonAbstractTest.awaitPartitionMapExchange(GridCommonAbstractTest.java:532)
> at
> org.apache.ignite.testframework.junits.common.GridCommonAbstractTest.awaitPartitionMapExchange(GridCommonAbstractTest.java:517)
> at
> org.apache.ignite.internal.processors.cache.distributed.rebalancing.GridCacheRabalancingDelayedPartitionMapExchangeSelfTest.test(GridCacheRabalancingDelayedPartitionMapExchangeSelfTest.java:154)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at junit.framework.TestCase.runTest(TestCase.java:176)
> at
> org.apache.ignite.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:1997)
> at
> org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:132)
> at
> org.apache.ignite.testframework.junits.GridAbstractTest$5.run(GridAbstractTest.java:1912)
> at java.lang.Thread.run(Thread.java:745)
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)