summaryrefslogtreecommitdiffstats
path: root/install/updates
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2015-03-31 10:59:37 +0200
committerJan Cholasta <jcholast@redhat.com>2015-04-27 05:55:04 +0000
commit4364ac08c538e3a4253804f523707092b34c2ed2 (patch)
tree4340e638bf293fe20bf2e680ad050aef97a7edc9 /install/updates
parent4a5f5b14c3159e3517b2bfefc3e89f16cebe9d4b (diff)
downloadfreeipa-4364ac08c538e3a4253804f523707092b34c2ed2.tar.gz
freeipa-4364ac08c538e3a4253804f523707092b34c2ed2.tar.xz
freeipa-4364ac08c538e3a4253804f523707092b34c2ed2.zip
speed up indirect member processing
the old implementation tried to get all entries which are member of group. That means also user. User can't have any members therefore this costly processing was unnecessary. New implementation reduces the search only to entries which have members. Also page size was removed to avoid paging by small pages(default size: 100) which is very slow for many members. https://fedorahosted.org/freeipa/ticket/4947 Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Diffstat (limited to 'install/updates')
-rw-r--r--install/updates/20-indices.update2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/updates/20-indices.update b/install/updates/20-indices.update
index a8a432d9c..a9ec9f9eb 100644
--- a/install/updates/20-indices.update
+++ b/install/updates/20-indices.update
@@ -27,7 +27,7 @@ default:nsSystemIndex: false
only:nsIndexType: eq,pres,sub
dn: cn=member,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
-only:nsIndexType: eq,sub
+only:nsIndexType: eq,pres,sub
dn: cn=uniquemember,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
only:nsIndexType: eq,sub