https://bugs.openldap.org/show_bug.cgi?id=10232
Issue ID: 10232 Summary: assert() at shutdown if a syncrepl session is in refresh Product: OpenLDAP Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Keywords: needs_review Severity: normal Priority: --- Component: slapd Assignee: bugs@openldap.org Reporter: ondra@mistotebe.net Target Milestone: ---
When removing the last one, syncinfo_free() checks that there is no active refresh on the backend. This works if operating on olcSyncrepl values because refresh_finished is called where appropriate. However if we're shutting down, this is skipped to make sure we don't schedule a new task and that could lead to an assert failure if there indeed was a refresh in progress (the same probably applies when removing the DB).
https://bugs.openldap.org/show_bug.cgi?id=10232
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.5.19 Keywords|needs_review |
https://bugs.openldap.org/show_bug.cgi?id=10232
Ondřej Kuzník ondra@mistotebe.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Assignee|bugs@openldap.org |ondra@mistotebe.net Status|UNCONFIRMED |IN_PROGRESS
--- Comment #1 from Ondřej Kuzník ondra@mistotebe.net --- https://git.openldap.org/openldap/openldap/-/merge_requests/714
https://bugs.openldap.org/show_bug.cgi?id=10232
--- Comment #2 from Quanah Gibson-Mount quanah@openldap.org --- • 44480499 by Ondřej Kuzník at 2024-10-01T16:12:50+00:00 ITS#10232 Reset cs_refreshing on config delete
https://bugs.openldap.org/show_bug.cgi?id=10232
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|IN_PROGRESS |RESOLVED
--- Comment #3 from Quanah Gibson-Mount quanah@openldap.org --- RE26:
• c451a39f by Ondřej Kuzník at 2024-10-04T22:06:18+00:00 ITS#10232 Reset cs_refreshing on config delete
RE25:
• 15b73ed1 by Ondřej Kuzník at 2024-10-04T22:07:28+00:00 ITS#10232 Reset cs_refreshing on config delete