ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ignite TC Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-10381) U.doInParallel can terminate early due to an error in batch processing
Date Fri, 23 Nov 2018 16:11:00 GMT

    [ https://issues.apache.org/jira/browse/IGNITE-10381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16697314#comment-16697314
] 

Ignite TC Bot commented on IGNITE-10381:
----------------------------------------

{panel:title=No blockers found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
[TeamCity Run All Results|https://ci.ignite.apache.org/viewLog.html?buildId=2380691&amp;buildTypeId=IgniteTests24Java8_RunAll]

> 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