]
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.