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 2011/06/03 21:00:56 UTC

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

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