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

JOIN_RSP should interrupt thread blocking down on findInitialMembers

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.6.1, 2.7
    • 2.6
    • None

    Description

      When clients attempts to join it loops through:

      while(!joined){
      fetch the initial members
      determine coordinator
      send join request to coordinator
      wait for join response (timeout)
      if(joinok)
      joined = installView
      }

      Unlucky timing of join response arrival can delay successful view installation and lead to unforeseen problems. If waiting for join response timeouts then joining thread repeats a loop and sends a blocking request to fetch initial members again. If response arrives while joining thread is fetching for the initial members then joining thread has to wait for fetching of the initial members to return in order to proceed with view installation.

      Fix for this issue should ensure that If successful join response arrives then joining thread should be interrupted and proceed with view installation immediately.

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-bban Bela Ban
              vblagoje Vladimir Blagojevic (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: