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

Bela Ban (Jira) issues at jboss.org
Wed Jan 23 06:23:00 EST 2019


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

Bela Ban updated JGRP-2328:
---------------------------
    Fix Version/s: 4.0.17


> 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
>             Fix For: 4.0.17
>
>
> 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