[jira] [Commented] (IGNITE-4369) ReentranLocks hands on unlock when node is stopped.

2016-12-05 Thread Taras Ledkov (JIRA)

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

Taras Ledkov commented on IGNITE-4369:
--

The test to reproduce is available at the [pull 
request|https://github.com/apache/ignite/pull/1314].

> ReentranLocks hands on unlock when node is stopped.
> ---
>
> Key: IGNITE-4369
> URL: https://issues.apache.org/jira/browse/IGNITE-4369
> Project: Ignite
>  Issue Type: Bug
>  Components: cache
>Affects Versions: 1.7
>Reporter: Taras Ledkov
> Fix For: 1.9
>
>
> The thread hangs on GridCacheLockImpl.unlock when other node is stopped.
> {code}
> at java.lang.Thread.yield(Native Method)
>   at 
> org.apache.ignite.internal.processors.datastructures.GridCacheLockImpl$Sync.tryRelease(GridCacheLockImpl.java:469)
>   at 
> java.util.concurrent.locks.AbstractQueuedSynchronizer.release(AbstractQueuedSynchronizer.java:1260)
>   at 
> org.apache.ignite.internal.processors.datastructures.GridCacheLockImpl.unlock(GridCacheLockImpl.java:1296)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (IGNITE-4369) ReentranLocks hands on unlock when node is stopped.

2016-12-05 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on IGNITE-4369:


GitHub user tledkov-gridgain opened a pull request:

https://github.com/apache/ignite/pull/1314

IGNITE-4369  ReentranLocks hands on unlock when node is stopped.



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/gridgain/apache-ignite ignite-4369

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/ignite/pull/1314.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1314


commit acf20b32d8fb68e42b904b091fb2b943f4558cef
Author: sboikov 
Date:   2016-12-05T11:01:28Z

ignite-4296 Optimize GridDhtPartitionsSingleMessage processing
- optimized processing of GridDhtPartitionsSingleMessage
- minor optimizations for RendezvousAffinityFunction
 - fixed heartbeats sending in tcp discovery

commit 3ddceb1e8b46eb09c1b717471772ce37043f6949
Author: tledkov-gridgain 
Date:   2016-12-05T13:31:34Z

IGNITE-4369: add test to reproduce




> ReentranLocks hands on unlock when node is stopped.
> ---
>
> Key: IGNITE-4369
> URL: https://issues.apache.org/jira/browse/IGNITE-4369
> Project: Ignite
>  Issue Type: Bug
>  Components: cache
>Affects Versions: 1.7
>Reporter: Taras Ledkov
> Fix For: 1.9
>
>
> The thread hangs on GridCacheLockImpl.unlock when other node is stopped.
> {code}
> at java.lang.Thread.yield(Native Method)
>   at 
> org.apache.ignite.internal.processors.datastructures.GridCacheLockImpl$Sync.tryRelease(GridCacheLockImpl.java:469)
>   at 
> java.util.concurrent.locks.AbstractQueuedSynchronizer.release(AbstractQueuedSynchronizer.java:1260)
>   at 
> org.apache.ignite.internal.processors.datastructures.GridCacheLockImpl.unlock(GridCacheLockImpl.java:1296)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)