directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r935320 - /directory/apacheds/trunk/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmStore.java
Date Sun, 18 Apr 2010 09:26:18 GMT
Author: kayyagari
Date: Sun Apr 18 09:26:16 2010
New Revision: 935320

URL: http://svn.apache.org/viewvc?rev=935320&view=rev
Log:
calling sync() on RDN index during a store wide sync() operation

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

Modified: directory/apacheds/trunk/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmStore.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmStore.java?rev=935320&r1=935319&r2=935320&view=diff
==============================================================================
--- directory/apacheds/trunk/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmStore.java
(original)
+++ directory/apacheds/trunk/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmStore.java
Sun Apr 18 09:26:16 2010
@@ -549,13 +549,15 @@ public class JdbmStore<E> implements Sto
         array.add( entryCsnIdx );
         array.add( entryUuidIdx );
         array.add( objectClassIdx );
-
+        
         // Sync all user defined userIndices
         for ( Index<?, E, Long> idx : array )
         {
             idx.sync();
         }
 
+        rdnIdx.sync();
+        
         master.sync();
         recMan.commit();
     }



Mime
View raw message