Bug 1868348
| Summary: | MOD on a large static group takes too long if substring index is present. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Têko Mihinto <tmihinto> |
| Component: | 389-ds-base | Assignee: | LDAP Maintainers <ldap-maint> |
| Status: | CLOSED WONTFIX | QA Contact: | RHDS QE <ds-qe-bugs> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 8.7 | CC: | ldap-maint, mhofmann, mreynolds, mrhodes, pasik, pcech, spichugi, tbordaz, tscherf, vashirov |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | 8.9 | Flags: | pm-rhel:
mirror+
|
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | sync-to-jira | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-01-26 10:03:30 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Têko Mihinto
2020-08-12 11:17:15 UTC
I could reproduce the issue: I created a group with 150k members, and deleted a member of the group and it took over 8 seconds to complete when a substring index is present for member. [20/Aug/2020:15:00:38.461356917 -0400] conn=5 op=1 MOD dn="cn=big-1,dc=example,dc=com" [20/Aug/2020:15:00:47.448968760 -0400] conn=5 op=1 RESULT err=0 tag=103 nentries=0 wtime=0.000302920 optime=8.987646011 etime=8.987945700 Here are the steps to reproduce: # dsctl slapd-localhost ldifgen groups --number 1 --suffix dc=example,dc=com --num-members 150000 --create-members --member-attr member --ldif-file /var/lib/dirsrv/slapd-localhost/ldif/group.ldif big # dsconf slapd-localhost backend import userroot group.ldif # ldapmodify -D "cn=directory manager" -w PASSWORD dn: cn=big-1,dc=example,dc=com changetype: modify delete: member member: uid=group_entry1-149999,dc=example,dc=com CPU goes to 100%, and it takes almost 9 seconds to complete. |