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

Brian Stansberry (JIRA) jira-events at jboss.com
Tue Nov 7 11:23:42 EST 2006


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.4.0.SP1, 1.4.0.GA, 1.3.0.SP3, 1.3.0.SP2, 1.3.0.SP1, 1.3.0.GA, 1.2.4SP2, 1.2.4SP1, 1.2.4
            Reporter: Brian Stansberry
         Assigned To: Brian Stansberry
             Fix For: 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