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

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Jan 19 10:47:10 EST 2011


Author: gaohoward
Date: 2011-01-19 10:47:09 -0500 (Wed, 19 Jan 2011)
New Revision: 8176

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


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-19 15:34:30 UTC (rev 8175)
+++ branches/JBM1842/src/main/org/jboss/messaging/core/impl/postoffice/MessagingPostOffice.java	2011-01-19 15:47:09 UTC (rev 8176)
@@ -460,6 +460,8 @@
    //this method will trigger a dedicated thread to write time stamp
    private synchronized void initState(int newState) throws Exception
    {
+      if (this.keepOldFailoverModel) return;
+      
       if (STATE_CLUSTERED == newState)
       {
          this.updateStateInStorage(thisNodeID, newState);



More information about the jboss-cvs-commits mailing list