https://bugs.openldap.org/show_bug.cgi?id=9642
Issue ID: 9642 Summary: Adding a task to runqueue doesn't wake the main thread Product: OpenLDAP Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: --- Component: slapd Assignee: bugs@openldap.org Reporter: ondra@mistotebe.net Target Milestone: ---
If a connection adds a new syncrepl stanza, that is not started until the main thread comes around to doing it. However if that thread is currently stuck in SLAP_EVENT_WAIT() and nothing else happens (like an unbind over the connection that modified the config), the task is never started. This can take a long time.
No idea yet how to wake it up with/from ldap_pvt_runqueue_insert() given that sits within libldap and not really something that should be calling slap_wake_listener().
https://bugs.openldap.org/show_bug.cgi?id=9642
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.7.0
https://bugs.openldap.org/show_bug.cgi?id=9642
Ondřej Kuzník ondra@mistotebe.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |IN_PROGRESS Ever confirmed|0 |1
--- Comment #1 from Ondřej Kuzník ondra@mistotebe.net --- https://git.openldap.org/openldap/openldap/-/merge_requests/435
https://bugs.openldap.org/show_bug.cgi?id=9642
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |TEST
--- Comment #2 from Quanah Gibson-Mount quanah@openldap.org --- • 19d4a698 by Ondřej Kuzník at 2021-12-15T20:40:53+00:00 ITS#9642 Notify runner of any changes to the runqueue
• bc37a9fd by Ondřej Kuzník at 2021-12-15T20:40:53+00:00 ITS#9642 Remove redundant calls to slap_wake_listener()
• edf7ef49 by Ondřej Kuzník at 2021-12-15T20:40:53+00:00 ITS#9642 Lloadd standalone doesn't use rq
https://bugs.openldap.org/show_bug.cgi?id=9642
Ondřej Kuzník ondra@mistotebe.net changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.openldap.org/s | |how_bug.cgi?id=9878