--On Thursday, July 20, 2023 4:14 PM +0000 Maud Parratt Maud.Parratt@bjss.com wrote:
The database already exists as an mdb, I could dump and restore it with slapadd, but I expect that'd take as much time as the slapindex.
If I load the mdb from an x86 instance of openldap on an arm64 index, queries return zero results until I do a slapindex, I suspect the way indexes is encoded is inconsistent between architectures.
It certainly would've saved me some time experimenting with tool threads if I was aware of that limitation.
Do you see the same load time issue on x86_64 as on arm64?
Also it's not clear to me why you're indexing the entire database with slapindex if it was already loaded via slapadd, which would have created the indices as they existed at the time the DB was loaded. You should only have to slapindex any changes made since that time.
Are you using cn=config or slapd.conf would be another question of mine. I hit a serious bug in OpenLDAP 2.6.4 in regards to cn=config and adding indexing that slapindex couldn't fix (ITS#9993, ITS#10047).
--Quanah