[jboss-jira] [JBoss JIRA] (JGRP-1921) Race condition in GroupRequest
Dennis Reed (JIRA)
issues at jboss.org
Fri Mar 27 14:38:19 EDT 2015
[ https://issues.jboss.org/browse/JGRP-1921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Reed closed JGRP-1921.
-----------------------------
Resolution: Won't Fix
Does not affect current versions of JGroups.
If a fix is needed for EAP 5.2, contact Red Hat support through the normal channels.
> Race condition in GroupRequest
> ------------------------------
>
> Key: JGRP-1921
> URL: https://issues.jboss.org/browse/JGRP-1921
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 2.6.23
> Reporter: Dennis Reed
> Assignee: Dennis Reed
> Priority: Minor
>
> Race condition in GroupRequest can make it wait for the full timeout even after all responses are received.
> GroupRequest.execute broadcasts the request, sets "done=false", then waits for a reply.
> If all the replies come in before it sets done=false, it will overwrite the done=true set by the responses and wait for the full timeout, and then return false.
> Note that the internal uses by MessageDispatcher/etc do not check the return value from execute, so this does not affect the data returned, only how long the call blocks for.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the jboss-jira
mailing list