You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2013/01/28 19:14:43 UTC

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

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