[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#7338) Problems changing bdb DB_CONFIG parameters using back-config

Full_Name: Matthew Hardin
Version: 2.4.31
OS: Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

Using back-config to update bdb DB_CONFIG parameters has problems.

Changing the parameters with back-config does work, and writes out a new
DB_CONFIG file, but a database reopen doesn't occur and therefore the
environment is not rebuilt. Furthermore, if one restarts slapd, a checkpoint
occurs, which in turn causes mtimes to change in the database and so the
rebuild-env-on-dbopen step isn't triggered.

The proper sequence should be:

close the db
write the new DB_CONFIG
open the db

The checkpoint will take place before DB_CONFIG is written, and on reopen, the
environment will be rebuilt.