directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1632900 - /directory/apacheds/trunk/jdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmTable.java
Date Sun, 19 Oct 2014 12:31:47 GMT
Author: kayyagari
Date: Sun Oct 19 12:31:47 2014
New Revision: 1632900

URL: http://svn.apache.org/r1632900
Log:
fixed the divisor value to match with the maximum number of transaction log count

Modified:
    directory/apacheds/trunk/jdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmTable.java

Modified: directory/apacheds/trunk/jdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmTable.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/jdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmTable.java?rev=1632900&r1=1632899&r2=1632900&view=diff
==============================================================================
--- directory/apacheds/trunk/jdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmTable.java
(original)
+++ directory/apacheds/trunk/jdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmTable.java
Sun Oct 19 12:31:47 2014
@@ -977,7 +977,7 @@ public class JdbmTable<K, V> extends Abs
         recMan.commit();
 
         // And flush the journal
-        if ( ( commitNumber.get() % 4000 ) == 0 )
+        if ( ( commitNumber.get() % 2000 ) == 0 )
         {
             BaseRecordManager baseRecordManager = null;
 



Mime
View raw message