URL: https://github.com/freeipa/freeipa/pull/864 Author: Tiboris Title: #864: Create indexes for 'serverhostname' attribute Action: opened
PR body: """ IPA installation with large number of host entries gets timeout when invoking ipaserver.plugins.host.get_dn() method. Resolves: https://pagure.io/freeipa/issue/6939 """ To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/864/head:pr864 git checkout pr864
From 6145c9d2246baea4a5bee3c46bab7fd0c61d8d9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tibor=20Dudl=C3=A1k?= <tdud...@redhat.com> Date: Thu, 8 Jun 2017 15:40:20 +0200 Subject: [PATCH] Create indexes for 'serverhostname' attribute IPA installation with large number of host entries gets timeout when invoking ipaserver.plugins.host.get_dn() method. Resolves: https://pagure.io/freeipa/issue/6939 --- install/share/indices.ldif | 9 +++++++++ install/updates/20-indices.update | 8 ++++++++ 2 files changed, 17 insertions(+) diff --git a/install/share/indices.ldif b/install/share/indices.ldif index d853266025..bc5f485dbd 100644 --- a/install/share/indices.ldif +++ b/install/share/indices.ldif @@ -278,3 +278,12 @@ objectClass: nsIndex nsSystemIndex: false nsIndexType: eq nsIndexType: sub + +dn: cn=serverhostname,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config +changetype: add +cn: serverhostname +objectClass: top +objectClass: nsIndex +nsSystemIndex: false +nsIndexType: eq +nsIndexType: sub diff --git a/install/updates/20-indices.update b/install/updates/20-indices.update index 74961d7787..cb1fc6506a 100644 --- a/install/updates/20-indices.update +++ b/install/updates/20-indices.update @@ -259,3 +259,11 @@ default: objectClass: nsIndex only: nsSystemIndex: false only: nsIndexType: eq only: nsIndexType: sub + +dn: cn=serverhostname,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config +default: cn: serverhostname +default: objectClass: top +default: objectClass: nsIndex +only: nsSystemIndex: false +only: nsIndexType: eq +only: nsIndexType: sub
_______________________________________________ FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org