[ 
https://issues.apache.org/jira/browse/IGNITE-9184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16728666#comment-16728666
 ] 

Mikhail Cherkasov commented on IGNITE-9184:
-------------------------------------------

[~zstan] it hangs even on latest master:
{code:java}
[25-12-2018 13:21:25][WARN ][main][GridCachePartitionExchangeManager] Still 
waiting for initial partition map exchange [fut=GridDhtPartitionsExchangeFuture 
[firstDiscoEvt=DiscoveryEvent [evtNode=TcpDiscoveryNode 
[id=1f8184a1-4722-4855-83c4-70760229465b, addrs=ArrayList [0:0:0:0:0:0:0:1%lo0, 
127.0.0.1, 172.25.4.99], sockAddrs=HashSet [/0:0:0:0:0:0:0:1%lo0:0, 
/127.0.0.1:0, Mikhails-MBP.gridgain.local/172.25.4.99:0], discPort=0, 
order=705, intOrder=0, lastExchangeTime=1545731025479, loc=true, 
ver=2.7.0#19700101-sha1:00000000, isClient=true], topVer=705, nodeId8=1f8184a1, 
msg=null, type=NODE_JOINED, tstamp=1545731025740], crd=TcpDiscoveryNode 
[id=4f70ea84-f356-4086-9795-ea004edb72e9, addrs=ArrayList [0:0:0:0:0:0:0:1%lo0, 
127.0.0.1, 172.25.4.99], sockAddrs=HashSet [/0:0:0:0:0:0:0:1%lo0:47500, 
/127.0.0.1:47500, Mikhails-MBP.gridgain.local/172.25.4.99:47500], 
discPort=47500, order=681, intOrder=343, lastExchangeTime=1545731025545, 
loc=false, ver=2.7.0#19700101-sha1:00000000, isClient=false], 
exchId=GridDhtPartitionExchangeId [topVer=AffinityTopologyVersion [topVer=705, 
minorTopVer=0], discoEvt=DiscoveryEvent [evtNode=TcpDiscoveryNode 
[id=1f8184a1-4722-4855-83c4-70760229465b, addrs=ArrayList [0:0:0:0:0:0:0:1%lo0, 
127.0.0.1, 172.25.4.99], sockAddrs=HashSet [/0:0:0:0:0:0:0:1%lo0:0, 
/127.0.0.1:0, Mikhails-MBP.gridgain.local/172.25.4.99:0], discPort=0, 
order=705, intOrder=0, lastExchangeTime=1545731025479, loc=true, 
ver=2.7.0#19700101-sha1:00000000, isClient=true], topVer=705, nodeId8=1f8184a1, 
msg=null, type=NODE_JOINED, tstamp=1545731025740], nodeId=1f8184a1, 
evt=NODE_JOINED], added=true, initFut=GridFutureAdapter 
[ignoreInterrupts=false, state=DONE, res=true, hash=1416345449], init=true, 
lastVer=null, partReleaseFut=null, exchActions=ExchangeActions 
[startCaches=null, stopCaches=null, startGrps=[], stopGrps=[], resetParts=null, 
stateChangeRequest=null], affChangeMsg=null, initTs=1545731035406, 
centralizedAff=false, forceAffReassignment=false, exchangeLocE=null, 
cacheChangeFailureMsgSent=false, done=false, state=CLIENT, 
registerCachesFuture=GridFinishedFuture [resFlag=2], partitionsSent=false, 
partitionsReceived=false, delayedLatestMsg=GridDhtPartitionsFullMessage 
[parts=HashMap {-2100569601=GridDhtPartitionFullMap 
{502ade99-f598-428e-a142-2ff997eda6ab=GridDhtPartitionMap [moving=0, 
top=AffinityTopologyVersion [topVer=703, minorTopVer=0], updateSeq=106, 
size=100], 060c1c8d-3137-4069-9c0f-a10f621e38db=GridDhtPartitionMap [moving=0, 
top=AffinityTopologyVersion [topVer=701, minorTopVer=0], updateSeq=125, 
size=100], 4f70ea84-f356-4086-9795-ea004edb72e9=GridDhtPartitionMap [moving=0, 
top=AffinityTopologyVersion [topVer=701, minorTopVer=0], updateSeq=157, 
size=100], 7da72f35-3d8e-44a1-9cd8-c7d9584fa945=GridDhtPartitionMap [moving=0, 
top=AffinityTopologyVersion [topVer=703, minorTopVer=0], updateSeq=201, 
size=100]}, 2571410=GridDhtPartitionFullMap 
{502ade99-f598-428e-a142-2ff997eda6ab=GridDhtPartitionMap [moving=0, 
top=AffinityTopologyVersion [topVer=703, minorTopVer=0], updateSeq=531, 
size=525], 060c1c8d-3137-4069-9c0f-a10f621e38db=GridDhtPartitionMap [moving=0, 
top=AffinityTopologyVersion [topVer=701, minorTopVer=0], updateSeq=649, 
size=623], 4f70ea84-f356-4086-9795-ea004edb72e9=GridDhtPartitionMap [moving=0, 
top=AffinityTopologyVersion [topVer=701, minorTopVer=0], updateSeq=929, 
size=708], 7da72f35-3d8e-44a1-9cd8-c7d9584fa945=GridDhtPartitionMap [moving=0, 
top=AffinityTopologyVersion [topVer=705, minorTopVer=0], updateSeq=1157, 
size=515]}}, partCntrs=IgniteDhtPartitionCountersMap [], 
partCntrs2=o.a.i.i.processors.cache.distributed.dht.preloader.IgniteDhtPartitionCountersMap2@223769f7,
 partHistSuppliers=IgniteDhtPartitionHistorySuppliersMap [], 
partsToReload=IgniteDhtPartitionsToReloadMap [], partsSizes=HashMap 
{-2100569601=UnmodifiableMap {0=0, 1=0, 2=0, 3=0, 4=0, 5=0, 6=0, 7=0, 8=0, 9=0, 
10=0, 11=0, 12=0, 13=0, 14=0, 15=0, 16=0, 17=0, 18=0, 19=0, 20=0, 21=0, 22=0, 
23=0, 24=0, 25=0, 26=0, 27=0, 28=0, 29=0, 30=0, 31=0, 32=0, 33=0, 34=0, 35=0, 
36=0, 37=0, 38=0, 39=0, 40=0, 41=0, 42=0, 43=0, 44=0, 45=0, 46=0, 47=0, 48=0, 
49=0, 50=0, 51=0, 52=0, 53=0, 54=0, 55=0, 56=0, 57=0, 58=0, 59=0, 60=0, 61=0, 
62=0, 63=0, 64=0, 65=0, 66=0, 67=0, 68=0, 69=0, 70=0, 71=0, 72=0, 73=0, 74=0, 
75=0, 76=0, 77=0, 78=0, 79=0, 80=0, 81=0, 82=0, 83=0, 84=0, 85=0, 86=0, 87=0, 
88=0, 89=0, 90=0, 91=0, 92=0, 93=0, 94=0, 95=0, 96=0, 97=0, 98=0, 99=0}, 
2571410=UnmodifiableMap {0=0, 1=null, 2=null, 3=0, 4=0, 5=0, 6=null, 7=0, 8=0, 
9=0, 10=0, 11=null, 12=0, 13=0, 14=0, 15=null, 16=null, 17=0, 18=0, 19=0, 
20=null, 21=0, 22=0, 23=0, 24=null, 25=0, 26=0, 27=0, 28=0, 29=0, 30=null, 
31=0, 32=0, 33=0, 34=null, 35=0, 36=null, 37=0, 38=null, 39=0, 40=0, 41=0, 
42=0, 43=0, 44=0, 45=0, 46=0, 47=0, 48=0, 49=0, 50=null, 51=null, 52=0, 53=0, 
54=0, 55=0, 56=null, 57=0, 58=null, 59=0, 60=0, 61=null, 62=0, 63=null, 64=0, 
65=1, 66=0, 67=0, 68=0, 69=0, 70=0, 71=0, 72=0, 73=null, 74=null, 75=null, 
76=0, 77=0, 78=0, 79=0, 80=0, 81=null, 82=null, 83=0, 84=0, 85=0, 86=0, 87=0, 
88=0, 89=0, 90=0, 91=null, 92=null, 93=0, 94=0, 95=0, 96=0, 97=null, 98=null, 
99=0... and 924 more}}, topVer=AffinityTopologyVersion [topVer=705, 
minorTopVer=1], errs=HashMap {}, compress=false, resTopVer=null, partCnt=2, 
super=GridDhtPartitionsAbstractMessage [exchId=null, lastVer=null, 
super=GridCacheMessage [msgId=8083, depInfo=null, 
lastAffChangedTopVer=AffinityTopologyVersion [topVer=705, minorTopVer=1], 
err=null, skipPrepare=false]]], afterLsnrCompleteFut=GridFutureAdapter 
[ignoreInterrupts=false, state=INIT, res=null, hash=1075936655], 
timeBag=o.a.i.i.util.TimeBag@34f1f6df, startTime=233081524142180, evtLatch=0, 
remaining=HashSet [4f70ea84-f356-4086-9795-ea004edb72e9, 
502ade99-f598-428e-a142-2ff997eda6ab, 060c1c8d-3137-4069-9c0f-a10f621e38db], 
super=GridFutureAdapter [ignoreInterrupts=false, state=INIT, res=null, 
hash=1697447212]]]

{code}
How doubled "for" cycles can affect the test in this case?  I fixed this 
problem, but I don't think that it's really can affect the test somehow.

> Cluster hangs during concurrent node restart and continues query registration
> -----------------------------------------------------------------------------
>
>                 Key: IGNITE-9184
>                 URL: https://issues.apache.org/jira/browse/IGNITE-9184
>             Project: Ignite
>          Issue Type: Bug
>          Components: general
>    Affects Versions: 2.6
>            Reporter: Mikhail Cherkasov
>            Assignee: Mikhail Cherkasov
>            Priority: Blocker
>             Fix For: 2.8
>
>         Attachments: StressTest.java, logs, stacktrace
>
>
> Please check the attached test case and stack trace.
> I can see: "Failed to wait for initial partition map exchange" message.
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to