You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ignite TC Bot (JIRA)" <ji...@apache.org> on 2019/04/03 15:22:00 UTC

[jira] [Commented] (IGNITE-11574) Exchange on NodeLeft event hangs when cluster is in transition state

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

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

{panel:title=--&gt; Run :: All: Possible Blockers|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}
{color:#d04437}_Licenses Headers_{color} [[tests 0 Exit Code |https://ci.ignite.apache.org/viewLog.html?buildId=3497538]]

{panel}
[TeamCity *--&gt; Run :: All* Results|https://ci.ignite.apache.org/viewLog.html?buildId=3487650&amp;buildTypeId=IgniteTests24Java8_RunAll]

> Exchange on NodeLeft event hangs when cluster is in transition state
> --------------------------------------------------------------------
>
>                 Key: IGNITE-11574
>                 URL: https://issues.apache.org/jira/browse/IGNITE-11574
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Ivan Bessonov
>            Assignee: Ivan Bessonov
>            Priority: Major
>             Fix For: 2.8
>
>         Attachments: ExchangeDeadlockTest.java
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The problem is in this code (GridCachePartitionExchangeManager#discoLsnr) :
> {code:java}
> if (cache.state().transition()) {
>     if (log.isDebugEnabled())
>         log.debug("Adding pending event: " + evt);
>     pendingEvts.add(new PendingDiscoveryEvent(evt, cache));
> }{code}
> Problem occurs when "setBaseline" and "nodeLeft" events happen simultaneously (+ some undetermined conditions).
> "nodeLeft" provokes exchange, and while that exchange isn't finished "setBaseline" is invoked. This moves cluster into a transition state and "CacheAffinityChangeMessage" from the exchange cannot be processed properly. At the same time "setBaseline" cannot be completed before the exchange, so we have a deadlock.
> Reproducer attached.
>  



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