You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Gijsbert van den Brink (JIRA)" <ji...@apache.org> on 2016/09/01 08:13:20 UTC
[jira] [Commented] (DIRMINA-1041) WriteFuture.await() hangs when
the connection is closed remotely before await is invoked
[ https://issues.apache.org/jira/browse/DIRMINA-1041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15454714#comment-15454714 ]
Gijsbert van den Brink commented on DIRMINA-1041:
-------------------------------------------------
This is a different problem though right? If I run the test now it passes consistently, the original problem with the race condition seems to be fixed.
> WriteFuture.await() hangs when the connection is closed remotely before await is invoked
> ----------------------------------------------------------------------------------------
>
> Key: DIRMINA-1041
> URL: https://issues.apache.org/jira/browse/DIRMINA-1041
> Project: MINA
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.0.13
> Reporter: Gijsbert van den Brink
> Attachments: DIRMINA1041Test.java
>
>
> When in a high throughput scenario a TCP connection is closed remotely before one of the `await` methods on WriteFuture is invoked, the `await` method hangs.
> We've actually been seeing this issue for quite some time in our production environment in an application that uses Apache Camel with the camel-mina2 and camel-hl7 components. I was finally able to reproduce the issue in a unit test (see attached).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)