directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1546831 - /directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/AbstractBTreePartition.java
Date Sun, 01 Dec 2013 18:08:01 GMT
Author: elecharny
Date: Sun Dec  1 18:08:00 2013
New Revision: 1546831

URL: http://svn.apache.org/r1546831
Log:
o No need to drop the parentID from the RdnIndex when updating it, it's already done by the
insert operation. This is a net gain in the server peformance (around 10%)

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

Modified: directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/AbstractBTreePartition.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/AbstractBTreePartition.java?rev=1546831&r1=1546830&r2=1546831&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/AbstractBTreePartition.java
(original)
+++ directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/AbstractBTreePartition.java
Sun Dec  1 18:08:00 2013
@@ -925,8 +925,6 @@ public abstract class AbstractBTreeParti
             }
 
             // Inject the modified element into the index
-            // we first need to drop it so that the key can be replaced
-            rdnIdx.drop( parentId );
             rdnIdx.add( parent, parentId );
 
             parentId = parent.getParentId();



Mime
View raw message