Bug 2040162

Summary: Paged search lookthroughlimit counter doesnt take read ahead into account
Product: Red Hat Directory Server Reporter: Marc Sauton <msauton>
Component: 389-ds-baseAssignee: LDAP Maintainers <ldap-maint>
Status: CLOSED CURRENTRELEASE QA Contact: RHDS QE <ds-qe-bugs>
Severity: medium Docs Contact: Marc Muehlfeld <mmuehlfe>
Priority: unspecified    
Version: 10.4CC: bsmejkal, jachapma, ldap-maint, tbordaz
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2056488 (view as bug list) Environment:
Last Closed: 2022-06-17 19:25:25 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:
Bug Depends On:    
Bug Blocks: 2056488    

Description Marc Sauton 2022-01-13 07:00:39 UTC
Description of problem:

backport into RHDS-11.4
https://github.com/389ds/389-ds-base/issues/4595  

Paged search lookthroughlimit counter doesnt take read ahead into account

Not in 389-ds-base-1.4.3.27-2.module+el8dsrv+12690+c6df6d1b nor the RHEL-8.5 rpm version

See possible impact of https://github.com/389ds/389-ds-base/issues/4551 (page searches may impact others searches)


Version-Release number of selected component (if applicable):
RHDS-11.4
389-ds-base-1.4.3.27-2.module+el8dsrv


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Jamie Chapman 2022-01-20 17:21:03 UTC
@Marc Sauton

This commit has been backported to 389-ds-base-1.4.3 and 389-ds-base-1.4.4

Comment 2 Marc Sauton 2022-02-03 00:40:21 UTC
Should be put it in RHEL-8 and RHDS-11 ?
( some customer would like this )

Comment 3 Marc Sauton 2022-06-17 19:25:25 UTC
closing "currentrelease" as
  ldbm_back_prev_search_results(Slapi_PBlock *pb)
has been updated in
  https://github.com/389ds/389-ds-base/blob/master/ldap/servers/slapd/back-ldbm/ldbm_search.c
and fix made its way into RHDS-10.5 on RHEL-8.6 and RHDS_12.0 on RHEL-9.0
Thanks,
M.