[jboss-jira] [JBoss JIRA] (JGRP-1724) GMS: join and immediate leave of coordinator doesn't install new view

Bela Ban (JIRA) jira-events at lists.jboss.org
Tue Oct 29 07:13:01 EDT 2013


     [ https://issues.jboss.org/browse/JGRP-1724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bela Ban resolved JGRP-1724.
----------------------------

    Resolution: Done

    
> GMS: join and immediate leave of coordinator doesn't install new view
> ---------------------------------------------------------------------
>
>                 Key: JGRP-1724
>                 URL: https://issues.jboss.org/browse/JGRP-1724
>             Project: JGroups
>          Issue Type: Bug
>            Reporter: Bela Ban
>            Assignee: Bela Ban
>             Fix For: 3.4.1, 3.5
>
>
> When we have coord A and B, the following can happen:
> * A joins: view=A|0
> * B joins: view=A|1
> * A leaves, view B|2 should be multicast by A to B
> --> B|2 is never received by B. B has to wait until failure detection detects that A is absent and installs a new view
> --> This is not incorrect, but takes more time than A installing the last view B|2 before it leaves
> The reason is that CoordGmsImpl.leave() sets {{leaving}} to true, which changes the impl from CoordGmsImpl to ClientGmsImpl. However, the latter doesn't handle the LEAVE request.
> SOLUTION:
> * Instead of using field {{leaving}}, use a (stack-based) variable {{is_leaving}} in handleMembershipChange().

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list