ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Goncharuk (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (IGNITE-10381) U.doInParallel can terminate early due to an error in batch processing
Date Thu, 22 Nov 2018 16:08:00 GMT

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

Alexey Goncharuk reassigned IGNITE-10381:
-----------------------------------------

    Assignee: Alexey Goncharuk

> U.doInParallel can terminate early due to an error in batch processing
> ----------------------------------------------------------------------
>
>                 Key: IGNITE-10381
>                 URL: https://issues.apache.org/jira/browse/IGNITE-10381
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Alexey Goncharuk
>            Assignee: Alexey Goncharuk
>            Priority: Major
>             Fix For: 2.8
>
>
> Originally the issue was spotted due to intermittent Cache 7 suite hang with the following
critical failure:
> {code}
> Caused by: java.lang.NullPointerException
> 	at org.apache.ignite.internal.processors.cache.distributed.dht.topology.GridDhtPartitionTopologyImpl.updateLocal(GridDhtPartitionTopologyImpl.java:2443)
> 	at org.apache.ignite.internal.processors.cache.distributed.dht.topology.GridDhtPartitionTopologyImpl.afterStateRestored(GridDhtPartitionTopologyImpl.java:695)
> 	at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.lambda$beforeExchange$ec1c537d$1(GridCacheDatabaseSharedManager.java:1281)
> 	at org.apache.ignite.internal.util.IgniteUtils.doInParallel(IgniteUtils.java:10840)
> 	at org.apache.ignite.internal.util.IgniteUtils.doInParallel(IgniteUtils.java:10763)
> 	at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.beforeExchange(GridCacheDatabaseSharedManager.java:1268)
> 	at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.distributedExchange(GridDhtPartitionsExchangeFuture.java:1405)
> 	at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:805)
> 	at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body0(GridCachePartitionExchangeManager.java:2864)
> 	... 3 more
> {code}
> Further debugging revealed that the NPE is caused due to a race appeared because {{U.doInParallel}}
may terminate early due to an exception thrown inside of one of the closures, but other threads
still working.



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

Mime
View raw message