Issue 7956 - mdb_env_copy2 COMPACT issue
Summary: mdb_env_copy2 COMPACT issue
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: 2.4.40
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-02 21:07 UTC by Howard Chu
Modified: 2015-07-02 17:45 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Howard Chu 2014-10-02 21:07:54 UTC
Full_Name: Howard Chu
Version: 2.4.40
OS: 
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (65.197.233.98)
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.
Comment 1 OpenLDAP project 2014-10-02 21:13:13 UTC
fixed in mdb.master
Comment 2 Howard Chu 2014-10-02 21:13:13 UTC
changed notes
changed state Open to Test
moved from Incoming to Software Bugs
Comment 3 Quanah Gibson-Mount 2014-12-11 01:05:38 UTC
changed state Test to Release
Comment 4 Quanah Gibson-Mount 2015-07-02 17:45:07 UTC
changed state Release to Closed