]
Brian Stansberry updated JBCACHE-836:
-------------------------------------
Workaround Description: To get the coordinator Address, call getMembers() and take the
first element in the returned Vector(). To see if the node is the coordinator, compare
that Address to the one returned by a call to getLocalAddress().
Workaround: [Workaround Exists]
Added a workaround for user code that calls isCoordinator() and getCoordinator().
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: Brian Stansberry
Priority: Minor
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: