You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Krzysztof Chmielewski (JIRA)" <ji...@apache.org> on 2017/11/24 10:47:00 UTC

[jira] [Commented] (IGNITE-7010) Ignite hangs on cache destroy called from IgniteBiPredicate - Ignite Events

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

Krzysztof Chmielewski commented on IGNITE-7010:
-----------------------------------------------

fixed with 
{code}
node.compute(node.cluster().forLocal()).runAsync(
// cache destroy Runnable
);
{code}

> Ignite hangs on cache destroy called from IgniteBiPredicate - Ignite Events
> ---------------------------------------------------------------------------
>
>                 Key: IGNITE-7010
>                 URL: https://issues.apache.org/jira/browse/IGNITE-7010
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: 2.3
>            Reporter: Krzysztof Chmielewski
>
> Ignite hangs trying to delete cache as a response to Ignite Event EventType.EVT_NODE_LEFT.
> Code to reproduce this issue is available at https://github.com/kristoffSC/IgniteHang
> Reproduce instructions:
> # Put break points in ServerStarter.java line 40 and 42.
> # Start ServerStarter as Java Application in Debug mode.
> # Start ClientStarter as Java Application. After ClientStarter ends, ServerStarter detects EventType.EVT_NODE_LEFT and will stops at line 40 (BP). Try skip to next line ({code}ignite.destroyCache("testCache"){code}) and then try skip one more line. Ignite will hang at line 41.
> This "hang" prevents other nodes from connecting to this running/hanging Ignite Server.
> Thread that stuck is "disco-event-worker". It waits on {code} return stopFut.get() {code} in IgniteKernel.class at line 3146



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)