From 018234e6ccd27c399d0d1aa17981c8b4f7abbc39 Mon Sep 17 00:00:00 2001
From: ludovicp <ludovicp@localhost>
Date: Mon, 07 Jun 2010 09:55:29 +0000
Subject: [PATCH] Fix issue #3404. Conflicting entries are now indexed by ds-sync-conflict attribute. This index is only updated when conflicts are detected and searched on for all deletes and modDN operations. Tested successfully against performance regression.
---
opends/src/admin/defn/org/opends/server/admin/std/LocalDBBackendConfiguration.xml | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/opends/src/admin/defn/org/opends/server/admin/std/LocalDBBackendConfiguration.xml b/opends/src/admin/defn/org/opends/server/admin/std/LocalDBBackendConfiguration.xml
index d0ae3fc..052e353 100644
--- a/opends/src/admin/defn/org/opends/server/admin/std/LocalDBBackendConfiguration.xml
+++ b/opends/src/admin/defn/org/opends/server/admin/std/LocalDBBackendConfiguration.xml
@@ -84,6 +84,14 @@
<adm:value>ds-sync-hist</adm:value>
</adm:property>
</adm:default-managed-object>
+ <adm:default-managed-object name="ds-sync-conflict">
+ <adm:property name="index-type">
+ <adm:value>equality</adm:value>
+ </adm:property>
+ <adm:property name="attribute">
+ <adm:value>ds-sync-conflict</adm:value>
+ </adm:property>
+ </adm:default-managed-object>
</adm:one-to-many>
<adm:profile name="ldap">
<ldap:rdn-sequence>cn=Index</ldap:rdn-sequence>
--
Gitblit v1.10.0