[jboss-cvs] JBoss Messaging SVN: r8189 - branches/JBM1842/src/main/org/jboss/messaging/core/impl/postoffice.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sat Jan 22 21:44:55 EST 2011


Author: gaohoward
Date: 2011-01-22 21:44:55 -0500 (Sat, 22 Jan 2011)
New Revision: 8189

Modified:
   branches/JBM1842/src/main/org/jboss/messaging/core/impl/postoffice/MessagingPostOffice.java
Log:
save


Modified: branches/JBM1842/src/main/org/jboss/messaging/core/impl/postoffice/MessagingPostOffice.java
===================================================================
--- branches/JBM1842/src/main/org/jboss/messaging/core/impl/postoffice/MessagingPostOffice.java	2011-01-22 11:00:24 UTC (rev 8188)
+++ branches/JBM1842/src/main/org/jboss/messaging/core/impl/postoffice/MessagingPostOffice.java	2011-01-23 02:44:55 UTC (rev 8189)
@@ -1596,7 +1596,7 @@
          suspectedNodes.put(leftNodeID, qNode);
 
          //only update itself -- when the new failoverMap has only one node (must be me)
-         if (failoverMap.size() == 1)
+         if (isFirstNode())
          {
             this.updateStateInStorage(thisNodeID, STATE_QUARANTINED);
          }



More information about the jboss-cvs-commits mailing list