Vladislav,
I provided my thoughts in the ticket. Please take a look.
-Val
On Mon, Feb 29, 2016 at 8:46 AM, Vladisav Jelisavcic
wrote:
> Sure, no problem.
>
> I created a ticket:
> https://issues.apache.org/jira/browse/IGNITE-2735
>
> and a PR to resolve this problem.
> I
Sure, no problem.
I created a ticket:
https://issues.apache.org/jira/browse/IGNITE-2735
and a PR to resolve this problem.
I think this should also fix: IGNITE-1977
but the non-failover test scenario is not good anymore;
Best regards,
Vladisav
On Mon, Feb 29, 2016 at 2:32 PM, Vladimir
Hi,
I tested your code in multi-node scenario, and semaphore is released fine
when node owning a permit has been closed. In your code sample there is
only one node, and in this case semaphore is not released. I think that
"acquire" method should throw an exception in this case (say,