[Date Prev][Date Next]
Re: (ITS#5840) bdb_online_index and shutdown
On Tue, Dec 02, 2008 at 03:14:28PM +0000, firstname.lastname@example.org wrote:
> Full_Name: Ralf Haferkamp
> Version: HEAD, RE24
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (18.104.22.168)
> When slapd is shutdown while the online indexing task is active it will stop the
> indexing task immediately leaving a half created index files behind. Searches
> that use the index afterwards will return imcomplete results.
> I wonder if we should wait for the indexing task to complete when shutting down
> the daemon or if there are any other ways to put the databases and the
> configuration back into a consistant state. (Apart from manually running
That's documented behavior. (See the Admin Guide:
If slapd is stopped before the index task completes, indexing
will have to be manually completed using the slapindex tool.
Generally when people issue a shutdown command to slapd they want it to
Stop Right Now. I think it would be a bad idea to wait, and I see nothing
to change here. This ITS should be closed.