[ https://issues.apache.org/jira/browse/IGNITE-13147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17136366#comment-17136366 ]
Ignite TC Bot commented on IGNITE-13147: ---------------------------------------- {panel:title=Branch: [pull/7927/head] Base: [master] : No blockers found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel} [TeamCity *--> Run :: All* Results|https://ci.ignite.apache.org/viewLog.html?buildId=5389351&buildTypeId=IgniteTests24Java8_RunAll] > Avoid DHT topology map updates before it's initialization > --------------------------------------------------------- > > Key: IGNITE-13147 > URL: https://issues.apache.org/jira/browse/IGNITE-13147 > Project: Ignite > Issue Type: Bug > Affects Versions: 2.8 > Reporter: Alexey Scherbakov > Priority: Major > Fix For: 2.9 > > Time Spent: 10m > Remaining Estimate: 0h > > It can happen if a partition state is restored from persistent store on > logical recovery and can cause NPE on older versions during illegal access to > unitialized topology: > {noformat} > [ERROR][exchange-worker-#41][GridDhtPartitionsExchangeFuture] Failed to > reinitialize local partitions (rebalancing will be stopped): > GridDhtPartitionExchangeId [topVer=AffinityTopologyVersion [topVer=102, > minorTopVer=0], discoEvt=DiscoveryEvent [evtNode=TcpDiscoveryNode > [id=d159da1c-6f70-4ef2-bfa4-4feb64b829de, consistentId=T1SivatheObserver, > addrs=ArrayList [10.44.166.91, 127.0.0.1], sockAddrs=HashSet > [/127.0.0.1:56500, clrv0000052580.ic.ing.net/10.44.166.91:56500], > discPort=56500, order=102, intOrder=60, lastExchangeTime=1586354937705, > loc=true,, isClient=false], topVer=102, msgTemplate=null, nodeId8=d159da1c, > msg=null, type=NODE_JOINED, tstamp=1586354901638], nodeId=d159da1c, > evt=NODE_JOINED] > java.lang.NullPointerException: null > at > org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentV2.getIds(GridAffinityAssignmentV2.java:211) > at > org.apache.ignite.internal.processors.cache.distributed.dht.topology.GridDhtPartitionTopologyImpl.updateLocal(GridDhtPartitionTopologyImpl.java:2554) > at > org.apache.ignite.internal.processors.cache.distributed.dht.topology.GridDhtPartitionTopologyImpl.afterStateRestored(GridDhtPartitionTopologyImpl.java:714) > at > org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.lambda$beforeExchange$38edadb$1(GridCacheDatabaseSharedManager.java:1514) > at > org.apache.ignite.internal.util.IgniteUtils.lambda$null$1(IgniteUtils.java:10790) > at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:1.8.0_241] > at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) > ~[?:1.8.0_241] > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > ~[?:1.8.0_241] > at java.lang.Thread.run(Unknown Source) [?:1.8.0_241] > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)