activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dej...@apache.org
Subject svn commit: r812943 - in /activemq/trunk: activemq-core/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java assembly/src/sample-conf/activemq-throughput.xml
Date Wed, 09 Sep 2009 13:19:43 GMT
Author: dejanb
Date: Wed Sep  9 13:19:43 2009
New Revision: 812943

URL: http://svn.apache.org/viewvc?rev=812943&view=rev
Log:
https://issues.apache.org/activemq/browse/AMQ-1894 - revert enableJournalDiskSyncs to true
and specifically set it in throughput config

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java
    activemq/trunk/assembly/src/sample-conf/activemq-throughput.xml

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java?rev=812943&r1=812942&r2=812943&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java
Wed Sep  9 13:19:43 2009
@@ -138,7 +138,7 @@
     protected boolean deleteAllMessages;
     protected File directory;
     protected Thread checkpointThread;
-    protected boolean enableJournalDiskSyncs=false;
+    protected boolean enableJournalDiskSyncs=true;
     long checkpointInterval = 5*1000;
     long cleanupInterval = 30*1000;
     int journalMaxFileLength = Journal.DEFAULT_MAX_FILE_LENGTH;

Modified: activemq/trunk/assembly/src/sample-conf/activemq-throughput.xml
URL: http://svn.apache.org/viewvc/activemq/trunk/assembly/src/sample-conf/activemq-throughput.xml?rev=812943&r1=812942&r2=812943&view=diff
==============================================================================
--- activemq/trunk/assembly/src/sample-conf/activemq-throughput.xml (original)
+++ activemq/trunk/assembly/src/sample-conf/activemq-throughput.xml Wed Sep  9 13:19:43 2009
@@ -57,7 +57,7 @@
             http://activemq.apache.org/kahadb.html
         -->
         <persistenceAdapter>
-            <kahaDB directory="${activemq.base}/data/kahadb" indexWriteBatchSize="10000"
/>
+            <kahaDB directory="${activemq.base}/data/kahadb" enableJournalDiskSyncs="false"
indexWriteBatchSize="10000" />
         </persistenceAdapter>
 
         <!-- 



Mime
View raw message