Issue 8220 - refint performance issue
Summary: refint performance issue
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-19 13:04 UTC by Howard Chu
Modified: 2015-11-30 18:21 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Howard Chu 2015-08-19 13:04:07 UTC
Full_Name: Howard Chu
Version: 2.4
OS: 
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (78.155.231.135)
Submitted by: hyc


The fix for ITS#5097 changed refint to support subtree renames. Unfortunately
this required using dnSubtreeMatch extended search filters, which are not
indexable, so every refint invocation invokes a search that scans the entire
DB.

This behavior isn't necessary; such an extensive search is only needed if we
know that the entry being modified actually has children. If we know that the
entry has no children, we can use the original code which used an equality
match, which *is* indexable, and save significant overhead.

Patch coming shortly.
Comment 1 Howard Chu 2015-08-19 13:09:49 UTC
changed notes
changed state Open to Test
moved from Incoming to Software Bugs
Comment 2 Quanah Gibson-Mount 2015-08-21 21:42:32 UTC
changed notes
changed state Test to Release
Comment 3 OpenLDAP project 2015-11-30 18:21:05 UTC
fixed in master
fixed in RE25
fixed in RE24 (2.4.43)
Comment 4 Quanah Gibson-Mount 2015-11-30 18:21:05 UTC
changed notes
changed state Release to Closed