ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Scherbakov (Jira)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-13147) Avoid DHT topology updates before it's initialization
Date Thu, 11 Jun 2020 13:58:00 GMT
Alexey Scherbakov created IGNITE-13147:
------------------------------------------

             Summary: Avoid DHT topology 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
             Fix For: 2.9


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)

Mime
View raw message