From 14809a0c5e44468632e3ddf56000c88bacaec0aa Mon Sep 17 00:00:00 2001
From: boli <boli@localhost>
Date: Thu, 23 Aug 2007 23:14:02 +0000
Subject: [PATCH] Added the JE backend configuration attribute to enable or disable compression when encoding entries for ID2Entry. When backend-compact-encoding  is enabled, attribute type descriptions and object class sets will be encoded using a compressed form. This behavior is enabled by default.

---
 opends/src/admin/defn/org/opends/server/admin/std/JEBackendConfiguration.xml |   35 +++++++++++++++++++++++++++++++++++
 1 files changed, 35 insertions(+), 0 deletions(-)

diff --git a/opends/src/admin/defn/org/opends/server/admin/std/JEBackendConfiguration.xml b/opends/src/admin/defn/org/opends/server/admin/std/JEBackendConfiguration.xml
index e799fbe..22ddb35 100644
--- a/opends/src/admin/defn/org/opends/server/admin/std/JEBackendConfiguration.xml
+++ b/opends/src/admin/defn/org/opends/server/admin/std/JEBackendConfiguration.xml
@@ -145,6 +145,41 @@
       </ldap:attribute>
     </adm:profile>
   </adm:property>
+  <adm:property name="backend-compact-encoding"
+                mandatory="false"
+                multi-valued="false">
+    <adm:synopsis>
+      Indicates whether the backend should use a compact form when encoding
+      entries by compressing the attribute descriptions and object class sets.
+    </adm:synopsis>
+    <adm:description>
+      Note that this property applies only to the entries themselves
+      and does not impact the index data.
+    </adm:description>
+    <adm:requires-admin-action>
+      <adm:other>
+        <adm:synopsis>
+          Changes to this setting will only take effect for writes that occur
+          after the change is made.  It will not be retroactively applied to
+          existing data.
+        </adm:synopsis>
+      </adm:other>
+    </adm:requires-admin-action>
+    <adm:default-behavior>
+      <adm:defined>
+        <adm:value>true</adm:value>
+      </adm:defined>
+    </adm:default-behavior>
+    <adm:syntax>
+      <adm:boolean />
+    </adm:syntax>
+    <adm:profile name="ldap">
+      <ldap:attribute>
+        <ldap:oid>1.3.6.1.4.1.26027.1.1.471</ldap:oid>
+        <ldap:name>ds-cfg-backend-compact-encoding</ldap:name>
+      </ldap:attribute>
+    </adm:profile>
+  </adm:property>
   <adm:property name="backend-entries-compressed"
     mandatory="false"
     multi-valued="false">

--
Gitblit v1.10.0