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

(ITS#4362) BDB 4.4 compatibility issues



Full_Name: Howard Chu
Version: 2.3
OS: 
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (24.126.120.178)
Submitted by: hyc


The back-bdb/hdb autorecovery code uses the DB_JOINENV flag to open an
environment and examine what BDB features were enabled on it, before deciding
how to proceed with recovery. If the environment is clean we set whatever
features we need and use it directly.

In BDB 4.4 the DB_JOINENV flag is a no-op and new threads always get the same
features that were used when the environment was created. The new behavior means
that an environment created with slapadd -q must be deleted and recreated for
slapd's operation, and that an environment created by slapd must be deleted for
slapadd -q to operate quickly (otherwise it will still have full transactions
enabled).