cn equality index missing by default on any instance created with DS 8.0 ----------------------------------------------------------- for example, with DS 7.1, you would see these, [root@neo userRoot]# pwd /opt/redhat-ds/slapd-neo/db/userRoot [root@neo userRoot]# ls aci.db4 cn.db4 entrydn.db4 nsUniqueId.db4 objectclass.db4 ancestorid.db4 DBVERSION id2entry.db4 numsubordinates.db4 parentid.db4 [root@neo userRoot]# ----------------------------------------------------------- with DS 8.0, I see only these, [root@margo userRoot]# pwd /DS8.0-31081/server/slapd-margo/db/userRoot [root@margo userRoot]# ls aci.db4 DBVERSION id2entry.db4 numsubordinates.db4 parentid.db4 ancestorid.db4 entrydn.db4 nsuniqueid.db4 objectclass.db4 [root@margo userRoot]# -----------------------------------------------------------
Created attachment 159896 [details] diffs
Your fix looks good.
Created attachment 159938 [details] cvs commit log Reviewed by: nhosoi (Thanks!) Fix Description: When creating the database instance during dse.ldif processing, we do not create the user defined indexes from the defaults for this backend. This used to work in the old setup code because that code would always add the configuration for the indexes for the new instance. The way it is supposed to work is that a new instance should just copy the default indexes for that backend. This works fine when adding an instance via LDAP but not during startup. I just added a call to have this done during startup. I also removed some obsolete indexes from the default indexes. Platforms tested: RHEL4 Flag Day: no Doc impact: no
changed status to VERIFIED [root@optimusvm7 userRoot]# ls aci.db4 cn.db4 entrydn.db4 nsuniqueid.db4 objectclass.db4 ancestorid.db4 DBVERSION id2entry.db4 numsubordinates.db4 parentid.db4