activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1242539 - /activemq/activeio/trunk/activeio-core/src/main/java/org/apache/activeio/journal/active/LogFileManager.java
Date Thu, 09 Feb 2012 21:37:30 GMT
Author: tabish
Date: Thu Feb  9 21:37:30 2012
New Revision: 1242539

URL: http://svn.apache.org/viewvc?rev=1242539&view=rev
Log:
fix for: activeio-core/src/main/java/org/apache/activeio/journal/active/LogFileManager.java

Modified:
    activemq/activeio/trunk/activeio-core/src/main/java/org/apache/activeio/journal/active/LogFileManager.java

Modified: activemq/activeio/trunk/activeio-core/src/main/java/org/apache/activeio/journal/active/LogFileManager.java
URL: http://svn.apache.org/viewvc/activemq/activeio/trunk/activeio-core/src/main/java/org/apache/activeio/journal/active/LogFileManager.java?rev=1242539&r1=1242538&r2=1242539&view=diff
==============================================================================
--- activemq/activeio/trunk/activeio-core/src/main/java/org/apache/activeio/journal/active/LogFileManager.java
(original)
+++ activemq/activeio/trunk/activeio-core/src/main/java/org/apache/activeio/journal/active/LogFileManager.java
Thu Feb  9 21:37:30 2012
@@ -144,6 +144,7 @@ final public class LogFileManager {
         // Find the first active node
         for (int i = 0; i < onlineLogFileCount; i++) {
             if( logFiles[i].isActive() ) {
+                activeLogFileCount.incrementAndGet();
                 if( firstActiveNode == null || logFiles[i].getId() < firstActiveNode.getId()
) {
                     firstActiveNode = logFiles[i];
                 }



Mime
View raw message