[
https://issues.apache.org/jira/browse/IGNITE-6542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16188219#comment-16188219
]
ASF GitHub Bot commented on IGNITE-6542:
----------------------------------------
GitHub user alamar opened a pull request:
https://github.com/apache/ignite/pull/2787
IGNITE-6542 Reliably close SocketChannel in TcpCommunicationSpi.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gridgain/apache-ignite ignite-6542
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/2787.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 #2787
----
commit 8a30823815e082eb2a44667f6b8e3fc455187976
Author: Ilya Kasnacheev <[email protected]>
Date: 2017-09-29T12:53:17Z
IGNITE-6071
commit b63be488f1b85d3cae4f0f9678c1945626c1fb60
Author: Ilya Kasnacheev <[email protected]>
Date: 2017-10-02T14:46:42Z
IGNITE-6542 Reliably close SocketChannel in TcpCommunicationSpi.
----
> SocketChannel may not be closed in createTcpClient()
> ----------------------------------------------------
>
> Key: IGNITE-6542
> URL: https://issues.apache.org/jira/browse/IGNITE-6542
> Project: Ignite
> Issue Type: Bug
> Affects Versions: 2.2
> Reporter: Ilya Kasnacheev
> Assignee: Ilya Kasnacheev
>
> There's no finally() on ch in TcpCommunicationSpi.createTcpClient()
> So there's a long block of code where resource consistency is hanging on a
> hair. This can lead to file descriptor starvation as well.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)