Issue 8662 - Update mdb_load to safely load back-mdb databases
Summary: Update mdb_load to safely load back-mdb databases
Status: VERIFIED FIXED
Alias: None
Product: LMDB
Classification: Unclassified
Component: liblmdb (show other issues)
Version: 0.9.26
Hardware: All All
: --- normal
Target Milestone: 0.9.28
Assignee: Howard Chu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-24 23:54 UTC by gnoe@symas.com
Modified: 2021-02-04 20:50 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 gnoe@symas.com 2017-05-24 23:54:57 UTC
Full_Name: Gregory Noe
Version: 
OS: 
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (63.142.209.94)


Update mdb_load to safely load back-mdb databases.  Currently back-mdb's custom
sort functions don't order database items in the correct order.
Comment 1 Howard Chu 2017-05-25 00:49:36 UTC
gnoe@symas.com wrote:
> Full_Name: Gregory Noe
> Version:
> OS:
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (63.142.209.94)
>
>
> Update mdb_load to safely load back-mdb databases.  Currently back-mdb's custom
> sort functions don't order database items in the correct order.

Actually no, this ITS is about tweaking back-mdb to give mdb_load a better 
hint about what ordering to use. In particular, the id2v table in master/RE25 
isn't being reloaded in proper order at the moment.

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/

Comment 2 Howard Chu 2021-01-28 18:29:42 UTC
Already in mdb.master, added to mdb.RE/0.9
Comment 3 Quanah Gibson-Mount 2021-01-28 18:56:18 UTC
trunk:

Commits: 
  • 7796aaeb 
by Howard Chu at 2021-01-28T18:26:41+00:00 
ITS#8662 Add -a append option to mdb_load

To allow reloading of custom-sorted DBs from mdb_dump


  • bedc82a2 
by Howard Chu at 2021-01-28T18:28:32+00:00 
ITS#8662