[jboss-cvs] JBossCache/src/org/jboss/cache ...
Manik Surtani
msurtani at jboss.com
Sun Dec 10 11:42:57 EST 2006
User: msurtani
Date: 06/12/10 11:42:57
Modified: src/org/jboss/cache Tag: Branch_JBossCache_1_4_0
TreeCache.java
Log:
Updated JGroups lib with anycast bug fixed. TreeCache modified to take advantage of this.
Revision Changes Path
No revision
No revision
1.195.2.33 +3 -5 JBossCache/src/org/jboss/cache/TreeCache.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: TreeCache.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/TreeCache.java,v
retrieving revision 1.195.2.32
retrieving revision 1.195.2.33
diff -u -b -r1.195.2.32 -r1.195.2.33
--- TreeCache.java 9 Dec 2006 15:14:26 -0000 1.195.2.32
+++ TreeCache.java 10 Dec 2006 16:42:56 -0000 1.195.2.33
@@ -99,7 +99,7 @@
* @author <a href="mailto:manik at jboss.org">Manik Surtani (manik at jboss.org)</a>
* @author Brian Stansberry
* @author Daniel Huang (dhuang at jboss.org)
- * @version $Id: TreeCache.java,v 1.195.2.32 2006/12/09 15:14:26 msurtani Exp $
+ * @version $Id: TreeCache.java,v 1.195.2.33 2006/12/10 16:42:56 msurtani Exp $
* <p/>
* @see <a href="http://labs.jboss.com/portal/jbosscache/docs">JBossCache doc</a>
*/
@@ -4332,10 +4332,8 @@
// if we are using buddy replication, all calls should use ANYCAST. Otherwise, use the default (multicast). Unless anycast is forced
- // TODO; Disabling anycast for now. Fix once this bug is fixed in JGroups.
-
- rsps = callRemoteMethodsViaReflection(validMembers, method_call, mode, timeout, false);//forceAnycast || buddyManager != null && buddyManager.isEnabled());
- //rsps = callRemoteMethodsViaReflection(validMembers, method_call, mode, timeout, forceAnycast || buddyManager != null && buddyManager.isEnabled());
+// rsps = callRemoteMethodsViaReflection(validMembers, method_call, mode, timeout, false);//forceAnycast || buddyManager != null && buddyManager.isEnabled());
+ rsps = callRemoteMethodsViaReflection(validMembers, method_call, mode, timeout, forceAnycast || buddyManager != null && buddyManager.isEnabled());
// a null response is 99% likely to be due to a marshalling problem - we throw a NSE, this needs to be changed when
// JGroups supports http://jira.jboss.com/jira/browse/JGRP-193
More information about the jboss-cvs-commits
mailing list