activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1131141 - /activemq/activemq-apollo/trunk/apollo-bdb/src/main/scala/org/apache/activemq/apollo/broker/store/bdb/HelperTrait.scala
Date Fri, 03 Jun 2011 19:00:56 GMT
Author: chirino
Date: Fri Jun  3 19:00:55 2011
New Revision: 1131141

URL: http://svn.apache.org/viewvc?rev=1131141&view=rev
Log:
Fixes https://issues.apache.org/jira/browse/APLO-36 : BDB Store not releasing disk space once
messages are consumed.

Modified:
    activemq/activemq-apollo/trunk/apollo-bdb/src/main/scala/org/apache/activemq/apollo/broker/store/bdb/HelperTrait.scala

Modified: activemq/activemq-apollo/trunk/apollo-bdb/src/main/scala/org/apache/activemq/apollo/broker/store/bdb/HelperTrait.scala
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-bdb/src/main/scala/org/apache/activemq/apollo/broker/store/bdb/HelperTrait.scala?rev=1131141&r1=1131140&r2=1131141&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-bdb/src/main/scala/org/apache/activemq/apollo/broker/store/bdb/HelperTrait.scala
(original)
+++ activemq/activemq-apollo/trunk/apollo-bdb/src/main/scala/org/apache/activemq/apollo/broker/store/bdb/HelperTrait.scala
Fri Jun  3 19:00:55 2011
@@ -128,11 +128,13 @@ object HelperTrait {
   long_key_conf.setAllowCreate(true)
   long_key_conf.setTransactional(true);
   long_key_conf.setBtreeComparator(new LongComparator)
+  long_key_conf.setSortedDuplicates(false);
 
   val long_long_key_conf = new DatabaseConfig();
   long_long_key_conf.setAllowCreate(true)
   long_long_key_conf.setTransactional(true);
   long_long_key_conf.setBtreeComparator(new LongLongComparator)
+  long_long_key_conf.setSortedDuplicates(false);
 
   final class RichDatabase(val db: Database) extends Proxy {
     def self: Any = db



Mime
View raw message