Quanah Gibson-Mount pushed to branch master at openldap / OpenLDAP
Commits: 6cc6ec2f by Ondřej Kuzník at 2021-10-05T11:05:25+01:00 ITS#9600 Do not hold locks while calling into back-monitor
- - - - - ef60ec1d by Ondřej Kuzník at 2021-10-05T11:05:25+01:00 ITS#9600 Protect connection while interacting with it
- - - - - 397e30a5 by Ondřej Kuzník at 2021-10-05T11:05:25+01: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/8968d13163b7dcb4040dcf2...