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

(ITS#7956) mdb_env_copy2 COMPACT issue

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

If you compact an empty environment, the copy in meta page 1 is written with the
main DB's root page set to 1, (i.e., pointing to itself) which is invalid.
Attempting to write to the copy triggers an assert.

Workaround - don't try to compact an empty environment... Fix coming shortly.