You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Alexey Scherbakov (Jira)" <ji...@apache.org> on 2020/06/16 07:22:00 UTC

[jira] [Assigned] (IGNITE-13147) Avoid DHT topology map updates before it's initialization

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

Alexey Scherbakov reassigned IGNITE-13147:
------------------------------------------

    Assignee: Alexey Scherbakov

> 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
>            Assignee: 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)