Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-1921

Race condition in GroupRequest

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 2.6.23
    • None

      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.

            rhn-support-dereed Dennis Reed
            rhn-support-dereed Dennis Reed
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: