activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1439550 - /activemq/activemq-apollo/trunk/apollo-leveldb/src/main/scala/org/apache/activemq/apollo/broker/store/leveldb/LevelDBClient.scala
Date Mon, 28 Jan 2013 18:14:43 GMT
Author: chirino
Date: Mon Jan 28 18:14:43 2013
New Revision: 1439550

URL: http://svn.apache.org/viewvc?rev=1439550&view=rev
Log:
Log when compactions occur so folks can monitor to see if they are occurring too often.

Modified:
    activemq/activemq-apollo/trunk/apollo-leveldb/src/main/scala/org/apache/activemq/apollo/broker/store/leveldb/LevelDBClient.scala

Modified: activemq/activemq-apollo/trunk/apollo-leveldb/src/main/scala/org/apache/activemq/apollo/broker/store/leveldb/LevelDBClient.scala
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-leveldb/src/main/scala/org/apache/activemq/apollo/broker/store/leveldb/LevelDBClient.scala?rev=1439550&r1=1439549&r2=1439550&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-leveldb/src/main/scala/org/apache/activemq/apollo/broker/store/leveldb/LevelDBClient.scala
(original)
+++ activemq/activemq-apollo/trunk/apollo-leveldb/src/main/scala/org/apache/activemq/apollo/broker/store/leveldb/LevelDBClient.scala
Mon Jan 28 18:14:43 2013
@@ -1178,6 +1178,7 @@ class LevelDBClient(store: LevelDBStore)
 
     // Lets compact the leveldb index if it looks like we need to.
     if( index.compact_needed ) {
+      info("Compacting the leveldb index at: "+dirty_index_file)
       index.compact
     }
     val empty_journals = log.log_infos.keySet.toSet -- log_refs.keySet



Mime
View raw message