[jboss-jira] [JBoss JIRA] (JGRP-2328) NioConnection.Reader thread can miss stop request

Dan Berindei (Jira) issues at jboss.org
Wed Jan 23 02:47:00 EST 2019


     [ https://issues.jboss.org/browse/JGRP-2328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Berindei reassigned JGRP-2328:
----------------------------------

    Assignee: Dan Berindei  (was: Bela Ban)


> NioConnection.Reader thread can miss stop request
> -------------------------------------------------
>
>                 Key: JGRP-2328
>                 URL: https://issues.jboss.org/browse/JGRP-2328
>             Project: JGroups
>          Issue Type: Bug
>    Affects Versions: 4.0.16
>            Reporter: Dan Berindei
>            Assignee: Dan Berindei
>            Priority: Major
>
> When [NioConnection.Reader._run()|https://github.com/belaban/JGroups/blob/d0d77d85f28efefaa2f0f262d3b1c279558c3f1f/src/org/jgroups/blocks/cs/NioConnection.java#L476] waits on the {{CondVar}} it should avoid waiting if {{running = false}}.
> Currently it only avoids waiting if {{data_available = true}}, which is also set by {{NioConnection.Reader.stop()}}, but which is reset a few lines above.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list