Issue 8849 - Notify backends of server (un)pause
Summary: Notify backends of server (un)pause
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: 2.5.0
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-09 14:10 UTC by Ondřej Kuzník
Modified: 2020-10-14 21:15 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Ondřej Kuzník 2018-05-09 14:10:49 UTC
Full_Name: Ondrej Kuznik
Version: master
OS: 
URL: https://github.com/mistotebe/openldap/tree/ITS8849
Submission from: (NULL) (82.10.24.68)


If a backend needs to handle its own long-running threads on the side, it might
need to be notified to pause while a config modification is underway and when it
is finished.

This is the case of the load balancer module, which registers itself as a module
and maintains its own threads and needs to know when a server (or even its own)
reconfiguration is in progress.

The linked patches provide one of the possible implementations, they introduce
the hooks to pause and unpause the server, use them in bconfig.c and add two new
backend hooks that are consulted while this is happening.
Comment 1 OpenLDAP project 2018-11-01 18:12:01 UTC
Added to master
Comment 2 Quanah Gibson-Mount 2018-11-01 18:12:01 UTC
changed notes
changed state Open to Test
moved from Incoming to Software Enhancements