[jboss-cvs] JBossAS SVN: r108675 - projects/cluster/ha-server-core/trunk/src/main/java/org/jboss/ha/core/framework/server.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Oct 19 23:40:46 EDT 2010


Author: pferraro
Date: 2010-10-19 23:40:46 -0400 (Tue, 19 Oct 2010)
New Revision: 108675

Modified:
   projects/cluster/ha-server-core/trunk/src/main/java/org/jboss/ha/core/framework/server/CoreGroupCommunicationService.java
Log:
Need to manually open thread gate in start() if channel was provided and already connected, since nothing will happen to trigger a flush.

Modified: projects/cluster/ha-server-core/trunk/src/main/java/org/jboss/ha/core/framework/server/CoreGroupCommunicationService.java
===================================================================
--- projects/cluster/ha-server-core/trunk/src/main/java/org/jboss/ha/core/framework/server/CoreGroupCommunicationService.java	2010-10-20 03:13:20 UTC (rev 108674)
+++ projects/cluster/ha-server-core/trunk/src/main/java/org/jboss/ha/core/framework/server/CoreGroupCommunicationService.java	2010-10-20 03:40:46 UTC (rev 108675)
@@ -1174,6 +1174,8 @@
       else
       {
          meml.viewAccepted(this.channel.getView());
+         // Since we haven't triggered a flush, we need to manually open the gate to allow rpcs.
+         this.flushBlockGate.open();
       }
       
       // See if the channel will not let us receive our own invocations and



More information about the jboss-cvs-commits mailing list