[jboss-jira] [JBoss JIRA] Resolved: (JGRP-247) Change semantics of viewChange() on MuxChannel

Bela Ban (JIRA) jira-events at jboss.com
Fri Jul 14 09:12:11 EDT 2006


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

Bela Ban resolved JGRP-247.
---------------------------

    Resolution: Done

fixed, and update documentation, plus 2 unit tests (MultiplexerTest and MultiplexerViewTest)

> Change semantics of viewChange() on MuxChannel
> ----------------------------------------------
>
>                 Key: JGRP-247
>                 URL: http://jira.jboss.com/jira/browse/JGRP-247
>             Project: JGroups
>          Issue Type: Feature Request
>    Affects Versions: 2.2.9.2, 2.2.9.1, 2.2.8, 2.2.9, 2.3
>            Reporter: Bela Ban
>         Assigned To: Bela Ban
>             Fix For: 2.4
>
>
> Multiplexer needs to override viewChange(), where the the view is the view of all hosts which have the application ! Example: H1:A1,A2,A3; H2:A3, then A3 gets a viewChange(H1,H2) and the others, A1 and A2 just get a viewChange(H1).
> This is a semantic change to MuxChannel. A view received this way basically means "a list of all hosts on which *my* application (e.g. A1) is currently running. When an application goes down, or is started, then a new view change will be sent to the applications of the same type, e.g. all A1's.
> This also affects the determination of a coordinator:
>     *  Issue: H1:A2,A3; H2:A1,A2, coord for A1 is H2, and for A2 it is H1. This is different from the JGroups coord, so we have to tweak MuxChannel?.getState() if and only if the address of the coord is null, then we determine the coord to be the application level coord.
> If a client wants to get a list of *all* nodes in the current cluster, we may have to provide a new method in MuxChannel.

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