[jboss-jira] [JBoss JIRA] Resolved: (JGRP-621) JOIN_RSP should interrupt thread blocking down on findInitialMembers

Bela Ban (JIRA) jira-events at lists.jboss.org
Fri Nov 16 11:21:20 EST 2007


     [ http://jira.jboss.com/jira/browse/JGRP-621?page=all ]

Bela Ban resolved JGRP-621.
---------------------------

    Resolution: Done

> JOIN_RSP should interrupt thread blocking down on findInitialMembers
> --------------------------------------------------------------------
>
>                 Key: JGRP-621
>                 URL: http://jira.jboss.com/jira/browse/JGRP-621
>             Project: JGroups
>          Issue Type: Bug
>    Affects Versions: 2.6
>            Reporter: Vladimir Blagojevic
>         Assigned To: Bela Ban
>             Fix For: 2.6.1, 2.7
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list