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

Tim Onyschak commented on IGNITE-7090:
--------------------------------------

[~vladisav], it looks like when failoverSafe flag is set to false it does not 
expect the permits to be given back. i added a failoverSafe check to fix the 
test, but i am not sure if thats expected functionality.  If yes, code is 
checked in. 


If we expect the permit to be given back on even in failoverSafe set to false, 
we may need to update test. I did not want to change any test until i fully 
understood the requirements on that.

I've kicked off a RunAll on team city, let me know what you think. 

> 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
>            Assignee: Tim Onyschak
>            Priority: Major
>             Fix For: 2.5
>
>         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
(v7.6.3#76005)

Reply via email to