Back to bug 2051476

Who When What Removed Added
Red Hat Bugzilla 2022-02-07 11:01:33 UTC Pool ID sst_idm_ds
thierry bordaz 2022-02-08 09:21:32 UTC Flags needinfo?(abobrov)
CC tbordaz
Anton Bobrov 2022-02-08 09:28:55 UTC Flags needinfo?(abobrov)
thierry bordaz 2022-02-16 08:02:00 UTC Status NEW ASSIGNED
Assignee ldap-maint tbordaz
thierry bordaz 2022-04-11 14:08:03 UTC Whiteboard sync-to-jira
Red Hat One Jira (issues.redhat.com) 2022-04-11 14:13:10 UTC Link ID Red Hat Issue Tracker IDMDS-2193
thierry bordaz 2022-04-13 09:41:01 UTC Link ID Github 389ds/389-ds-base/issues/5262
Petr Čech 2022-05-18 16:09:57 UTC CC pcech
joel 2022-05-25 17:16:14 UTC CC jwooten
Ben Spencer 2022-06-07 17:26:59 UTC CC bs168
Simon Pichugin 2022-06-10 03:39:44 UTC CC spichugi
Assignee tbordaz spichugi
Red Hat One Jira (issues.redhat.com) 2022-06-27 14:49:00 UTC Link ID Red Hat Issue Tracker IDMDS-2343
Marc Muehlfeld 2022-06-28 05:36:52 UTC Docs Contact mmuehlfe
Têko Mihinto 2022-07-04 19:02:00 UTC CC tmihinto
Pasi Karkkainen 2022-07-05 11:25:46 UTC CC pasik
Simon Pichugin 2022-08-24 22:27:43 UTC CC mreynolds
Target Release --- dirsrv-11.6
Priority unspecified high
Keywords Triaged
Flags needinfo?(abobrov)
Marc Sauton 2022-08-24 22:57:36 UTC CC msauton
Anton Bobrov 2022-08-29 14:21:16 UTC Flags needinfo?(abobrov)
Simon Pichugin 2022-10-04 01:55:23 UTC Status ASSIGNED POST
Têko Mihinto 2022-10-04 13:36:09 UTC Flags needinfo?(spichugi)
Simon Pichugin 2022-10-06 18:40:52 UTC Flags needinfo?(spichugi)
Simon Pichugin 2022-11-19 00:01:31 UTC Doc Text Cause: Cache c_mutex type was changed from PR_Monitor to pthread recursive mutex implementation. It brought a minor performance boost but also proved to be a less stable solution in its current way.
Additionally, another issue happens when updating the parent entry of a deleted entry (numsubordinates), if it fails to lock the parent it does not return the parent entry.

Consequence: "find_entry_internal_dn - Retry count exceeded" error appears in the error log with high concurrent mixed operations load on a flat tree.
And when the other issue happens, refcnt becomes invalid. Which may lead to other cache locking issues.

Fix: Change cache c_mutex type to PR_Monitor.
In the case of the failure to lock the parent entry, the entry should be returned.

Result: "find_entry_internal_dn - Retry count exceeded" error doesn't appear. And the cache structure exists in the correct state with the correct refcnt.
Doc Type If docs needed, set a value Bug Fix
Chance Callahan 2022-12-01 22:21:14 UTC CC ccallaha
errata-xmlrpc 2023-01-10 12:54:48 UTC Fixed In Version redhat-ds-11-8070020230103174318.95958119
Status POST MODIFIED
Target Milestone --- DS11.6
Link ID Red Hat Issue Tracker IDMDS-2707
Status MODIFIED ON_QA
errata-xmlrpc 2023-01-16 14:37:24 UTC CC bsmejkal
Status ON_QA VERIFIED
Status VERIFIED RELEASE_PENDING
errata-xmlrpc 2023-01-17 08:52:07 UTC Resolution --- ERRATA
Status RELEASE_PENDING CLOSED
Last Closed 2023-01-17 08:52:07 UTC
errata-xmlrpc 2023-01-17 08:52:13 UTC Link ID Red Hat Product Errata RHBA-2023:0186

Back to bug 2051476