Maud Parratt wrote: > I’ve configured my arm64 instance with: > dn: cn=config > olcIndexHash64: FALSE > > > The indexes are still broken though, is this the configuration you’re > referring to? Given my mdb is from an amd64 box, it’ll be 32 bit, so I want > to match the > configuration.
That is not what I wrote in my reply to you. > > *From: *Howard Chu <[email protected]> > *Date: *Thursday, 20 July 2023 at 20:38 > *To: *Quanah Gibson-Mount <[email protected]>, Maud Parratt > <[email protected]>, [email protected] > <[email protected]> > *Subject: *Re: slapindex a 60GB mdb in reasonable time > > Quanah Gibson-Mount wrote: >> >> >> --On Thursday, July 20, 2023 7:13 PM +0100 Howard Chu <[email protected]> wrote: >> >>>> Pretty sure they're not compatible. I.e., you must load from LDIF when >>>> switching architectures. >>> >>> There's no particular reason for arm64 and amd64 to be incompatible, >>> they're both 64bit little-endian. arm64 and x86 (32bit) would most likely >>> be incompatible though. >> >> >> Hm, not different page sizes perhaps? But if this is 64-bit on both ends, >> and the amd64 generated index databases don't work on ARM64, seems to >> indicate >> something's not compatible? > > I just checked on a local box. My ARM64 build defaulted to 64bit index keys, > the AMD64 build used 32bit index keys. Not sure why the defaults are > different, > but configuring 64bit index keys on the AMD64 box would fix this. -- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/
