[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#8958) 2nd cn=config update blocks slapd while adding subordinate index
- To: openldap-its@OpenLDAP.org
- Subject: Re: (ITS#8958) 2nd cn=config update blocks slapd while adding subordinate index
- From: hyc@symas.com
- Date: Sun, 20 Jan 2019 01:14:14 +0000
- Auto-submitted: auto-generated (OpenLDAP-ITS)
Hallvard Breien Furuseth wrote:
> On 1/19/19 9:55 PM, h.b.furuseth@usit.uio.no wrote:
>> On 1/19/19 8:04 PM, Howard Chu wrote:
>>> The *server* is not hung. Only modifications to the cn=config DB are blocked.
>>
>> Yes it is.
>
> That is, the 2nd mod to cn=config blocks, and that's fine by me, except
> _then_ the server is hung.
Ah, the 2nd cn=config mod has requested a pause, which can't succeed until all
background threads complete. And no new threads will be run while a pause is being requested.
This was the safest approach, considering that a config change could alter/remove context out
from under running threads otherwise.
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/