https://bugs.openldap.org/show_bug.cgi?id=9529
Issue ID: 9529 Summary: pcache locking issue Product: OpenLDAP Version: 2.4.58 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: --- Component: overlays Assignee: bugs@openldap.org Reporter: hyc@openldap.org Target Milestone: ---
Since ITS#6954 commit ea228495148 the consistency_check function was changed to hold the template t_rwlock for the entire duration of a query expiration. There doesn't appear to be any valid reason for this change, and it causes the cache to be unresponsive to new searches while expiration is removing cached entries.
https://bugs.openldap.org/show_bug.cgi?id=9529
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |needs_review
https://bugs.openldap.org/show_bug.cgi?id=9529
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |TEST Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Quanah Gibson-Mount quanah@openldap.org --- Commits: • 6d285a33 by Howard Chu at 2021-04-21T22:15:27+01:00 ITS#9529 pcache: fix consistency_check locking
• c63216ab by Howard Chu at 2021-04-21T22:32:42+01:00 ITS#9529 pcache: update refresh_time after query refresh
https://bugs.openldap.org/show_bug.cgi?id=9529
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.4.59 Keywords|needs_review |
https://bugs.openldap.org/show_bug.cgi?id=9529
--- Comment #2 from Quanah Gibson-Mount quanah@openldap.org --- RE24:
commit d2a1b1c61a377adb2ef141ac33698b172f15dbed Author: Howard Chu hyc@openldap.org Date: Wed Apr 21 22:04:49 2021 +0100
ITS#9529 pcache: fix consistency_check locking
commit 1ae5f1699558f8c0d5b902c3e14e24bc45a51d6e Author: Howard Chu hyc@openldap.org Date: Wed Apr 21 22:32:42 2021 +0100
ITS#9529 pcache: update refresh_time after query refresh
https://bugs.openldap.org/show_bug.cgi?id=9529
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|TEST |FIXED
https://bugs.openldap.org/show_bug.cgi?id=9529
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED