[Jboss-cvs] JBossAS SVN: r54917 - trunk/aspects/src/main/org/jboss/aspects/remoting

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Jul 31 12:04:51 EDT 2006


Author: bstansberry at jboss.com
Date: 2006-07-31 12:04:50 -0400 (Mon, 31 Jul 2006)
New Revision: 54917

Modified:
   trunk/aspects/src/main/org/jboss/aspects/remoting/ClusterChooserInterceptor.java
Log:
Revert change; unneeded

Modified: trunk/aspects/src/main/org/jboss/aspects/remoting/ClusterChooserInterceptor.java
===================================================================
--- trunk/aspects/src/main/org/jboss/aspects/remoting/ClusterChooserInterceptor.java	2006-07-31 15:29:04 UTC (rev 54916)
+++ trunk/aspects/src/main/org/jboss/aspects/remoting/ClusterChooserInterceptor.java	2006-07-31 16:04:50 UTC (rev 54917)
@@ -64,12 +64,9 @@
       while (target != null)
       {
          invocation.getMetaData().addMetaData(CLUSTERED_REMOTING, FAILOVER_COUNTER, new Integer(failoverCounter), PayloadKey.AS_IS);
-         // JBAS-2071 prevent updates to family while we read from it
-         synchronized (family)
-         {
-            invocation.getMetaData().addMetaData(InvokeRemoteInterceptor.REMOTING, InvokeRemoteInterceptor.INVOKER_LOCATOR, target, PayloadKey.AS_IS);
-            invocation.getMetaData().addMetaData(CLUSTERED_REMOTING, CLUSTER_VIEW_ID, new Long(family.get().getCurrentViewId()), PayloadKey.AS_IS);
-         }
+         invocation.getMetaData().addMetaData(InvokeRemoteInterceptor.REMOTING, InvokeRemoteInterceptor.INVOKER_LOCATOR, target, PayloadKey.AS_IS);
+         invocation.getMetaData().addMetaData(CLUSTERED_REMOTING, CLUSTER_VIEW_ID, new Long(family.get().getCurrentViewId()), PayloadKey.AS_IS);
+
          boolean definitivlyRemoveNodeOnFailure = true;
          lastException = null;
          try




More information about the jboss-cvs-commits mailing list