[prev in list] [next in list] [prev in thread] [next in thread]
List: openldap-bugs
Subject: Re: (ITS#7754) Unaligned MDB_DUPSORT sub-pages
From: hyc () symas ! com
Date: 2013-12-09 12:18:00
Message-ID: 201312091218.rB9CI0nN036234 () boole ! openldap ! org
[Download RAW message or body]
h.b.furuseth@usit.uio.no wrote:
> I wrote:
>> (...)
>> A fix with a format change would be to put the padding byte in front
>> of the sub-page instead of at the end.
Sounds fine to me. back-mdb only uses even-sized keys with DUPSORT, so this
change has no impact on OpenLDAP. And most likely no one else has hit this
situation yet otherwise they'd be crashing.
> Ignore next paragraph:
>> One fix with a format change could be that the data item gets uneven
>> size too, with a padding byte in front of the sub-page.
>
> Because that's repeated as the 2nd alternative after this one:
>
>> The most general way would be to do that in all nodes with uneven-
>> sized key and even-sized data:
>
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic