geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ke...@apache.org
Subject svn commit: r663923 - /geronimo/server/trunk/plugins/connector/transaction/src/main/plan/plan.xml
Date Fri, 06 Jun 2008 13:00:38 GMT
Author: kevan
Date: Fri Jun  6 06:00:37 2008
New Revision: 663923

URL: http://svn.apache.org/viewvc?rev=663923&view=rev
Log:
GERONIMO-3930 Merge from branches/2.1. The maximum size of each tran log file is 2 gigs (HOWL
needs to index using an integer). The default max size will now be 2 megs. The default buffer
size was 32k, which is pretty large (typically would have a lot of wasted space). I've bumped
it down to 4k.

Modified:
    geronimo/server/trunk/plugins/connector/transaction/src/main/plan/plan.xml

Modified: geronimo/server/trunk/plugins/connector/transaction/src/main/plan/plan.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/connector/transaction/src/main/plan/plan.xml?rev=663923&r1=663922&r2=663923&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/connector/transaction/src/main/plan/plan.xml (original)
+++ geronimo/server/trunk/plugins/connector/transaction/src/main/plan/plan.xml Fri Jun  6
06:00:37 2008
@@ -49,16 +49,20 @@
         </reference>
     </gbean>
 
+    <!-- 
+        Maximum log file size is 2 Megs (4K * 512). Buffer size can't be changed once the
files
+        have been created. 
+    -->
     <gbean name="HOWLTransactionLog" class="org.apache.geronimo.transaction.log.HOWLLogGBean">
         <attribute name="bufferClassName">org.objectweb.howl.log.BlockLogBuffer</attribute>
-        <attribute name="bufferSizeKBytes">32</attribute>
+        <attribute name="bufferSizeKBytes">4</attribute>
+        <attribute name="maxBlocksPerFile">512</attribute>
         <attribute name="checksumEnabled">true</attribute>
         <attribute name="adler32Checksum">true</attribute>
         <attribute name="flushSleepTimeMilliseconds">50</attribute>
         <attribute name="logFileDir">var/txlog</attribute>
         <attribute name="logFileExt">log</attribute>
         <attribute name="logFileName">howl</attribute>
-        <attribute name="maxBlocksPerFile">-1</attribute>
         <attribute name="maxBuffers">0</attribute>
         <attribute name="maxLogFiles">2</attribute>
         <attribute name="minBuffers">4</attribute>



Mime
View raw message