[
https://issues.apache.org/jira/browse/IGNITE-7090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16277539#comment-16277539
]
Tim Onyschak commented on IGNITE-7090:
--------------------------------------
The issue appears to be the DataStructuresProcessor.dsMap being cleared prior
to the event Listener trying to process the event on the data structure. Ths
prevent the onNodeRemoved from being execute and the semaphore owner to never
release the permit.
i created https://github.com/apache/ignite/pull/3138
> Semaphore Stuck when no acquirers to assign permit
> --------------------------------------------------
>
> Key: IGNITE-7090
> URL: https://issues.apache.org/jira/browse/IGNITE-7090
> Project: Ignite
> Issue Type: Bug
> Components: cache, data structures
> Affects Versions: 2.1, 2.4
> Reporter: Tim Onyschak
> Fix For: 2.4
>
> Attachments: SemaphoreFailoverNoWaitingAcquirerTest.java
>
>
> If no acquirers are available to take permit of semaphore, the permit never
> gets release and any further acquirerers will wait forever.
> On node shut down DataStructuresProcessor.dsMap gets cleared out prior to
> event listener being able to execute onNodeRemoved, hence owner is never
> cleared out if it was unable to pass to a different acquirer.
>
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)