Sergey Chugunov created IGNITE-8252:
---------------------------------------

             Summary: NullPointerException is thrown during parallel massive 
start of nodes
                 Key: IGNITE-8252
                 URL: https://issues.apache.org/jira/browse/IGNITE-8252
             Project: Ignite
          Issue Type: Bug
          Components: zookeeper
            Reporter: Sergey Chugunov
            Assignee: Sergey Chugunov


When many nodes are started in parallel and IGNITE_DISCOVERY_HISTORY_SIZE is 
set to too small value (smaller than size of batch of nodes joining the cluster 
simultaneously) NPE is thrown from the exchange thread:
{noformat}
[ERROR][exchange-worker-#62][GridDhtPartitionsExchangeFuture] Failed to 
reinitialize local partitions (preloading will be stopped): 
GridDhtPartitionExchangeId [topVer=AffinityTopologyVersion [topVer=5, 
minorTopVer=0], discoEvt=DiscoveryEvent [evtNode=ZookeeperClusterNode 
[id=2f412f7f-d326-4303-86f9-91004c82aa7b, addrs=[172.25.1.18], order=5, 
loc=true, client=false], topVer=5, nodeId8=2f412f7f, msg=null, 
type=NODE_JOINED, tstamp=1523571878505], nodeId=2f412f7f, evt=NODE_JOINED]
java.lang.NullPointerException: null
        at 
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.latch.ExchangeLatchManager.getLatchCoordinator(ExchangeLatchManager.java:249)
 ~[ignite-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
        at 
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.latch.ExchangeLatchManager.getOrCreate(ExchangeLatchManager.java:207)
 ~[ignite-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
        at 
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.waitPartitionRelease(GridDhtPartitionsExchangeFuture.java:1227)
 ~[ignite-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
        at 
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.distributedExchange(GridDhtPartitionsExchangeFuture.java:1112)
 ~[ignite-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
        at 
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:713)
 [ignite-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
        at 
org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body0(GridCachePartitionExchangeManager.java:2414)
 [ignite-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
        at 
org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:2294)
 [ignite-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
        at 
org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110) 
[ignite-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_161]
{noformat}



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

Reply via email to