[jboss-jira] [JBoss JIRA] Resolved: (JBCACHE-836) TreeCache isCoordinator() returns incorrect value after clean shutdown of coordinator

Manik Surtani (JIRA) jira-events at jboss.com
Thu Nov 23 13:07:42 EST 2006


     [ http://jira.jboss.com/jira/browse/JBCACHE-836?page=all ]

Manik Surtani resolved JBCACHE-836.
-----------------------------------

    Resolution: Done

> TreeCache isCoordinator() returns incorrect value after clean shutdown of coordinator
> -------------------------------------------------------------------------------------
>
>                 Key: JBCACHE-836
>                 URL: http://jira.jboss.com/jira/browse/JBCACHE-836
>             Project: JBoss Cache
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Clustering
>    Affects Versions: 1.3.0.GA, 1.2.4, 1.4.0.GA, 1.2.4SP1, 1.2.4SP2, 1.3.0.SP1, 1.3.0.SP2, 1.3.0.SP3, 1.4.0.SP1
>            Reporter: Brian Stansberry
>         Assigned To: Manik Surtani
>            Priority: Minor
>             Fix For: 1.3.0.SP4, 1.4.1.GA
>
>
> The code for determining who is the coordinator is calling ViewId.getCoordinator() to find the coordinator address.  This method actually returns the address of the node that *issued* the view, not that address of the current coordinator *in* the view.  When a node that is coordinator shuts down cleanly, one of the last things it does is issue the new view (without itself as a member).  For that view, ViewId.getCoordinator() returns the address of the node that has shut down, not the new coordinator.

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