Quanah Gibson-Mount pushed to branch OPENLDAP_REL_ENG_2_6 at openldap / OpenLDAP
Commits: 84e901a9 by Ondřej Kuzník at 2021-10-06T23:03:24+00:00 ITS#9600 Do not hold locks while calling into back-monitor
- - - - - b096aed4 by Ondřej Kuzník at 2021-10-06T23:03:28+00:00 ITS#9600 Protect connection while interacting with it
- - - - - 5a1da417 by Ondřej Kuzník at 2021-10-06T23:03:32+00:00 ITS#9620 Fix deadlocks between searches and register_entry
The cache is again protected by a simple mutex and mp_children/mp_next is protected by mp_mutex. Each monitor_send_children is called holding the corresponding mp_mutex meaning the whole path from search base to the current entry is off limits - cn=monitor searches cannot run in parallel right now.
- - - - -
19 changed files:
- servers/lloadd/client.c - servers/lloadd/connection.c - servers/lloadd/monitor.c - servers/lloadd/upstream.c - servers/slapd/back-monitor/back-monitor.h - servers/slapd/back-monitor/backend.c - servers/slapd/back-monitor/cache.c - servers/slapd/back-monitor/conn.c - servers/slapd/back-monitor/database.c - servers/slapd/back-monitor/init.c - servers/slapd/back-monitor/listener.c - servers/slapd/back-monitor/operation.c - servers/slapd/back-monitor/overlay.c - servers/slapd/back-monitor/proto-back-monitor.h - servers/slapd/back-monitor/rww.c - servers/slapd/back-monitor/search.c - servers/slapd/back-monitor/sent.c - servers/slapd/back-monitor/thread.c - servers/slapd/back-monitor/time.c
View it on GitLab: https://git.openldap.org/openldap/openldap/-/compare/112038fde3715d7ef57f6b5...