https://bugs.openldap.org/show_bug.cgi?id=10552
--- Comment #2 from donxenapo@gmail.com --- We have no way of knowing what triggers it (maybe you can advice where to look?), we just see that this happens on a significant percent of our users. It seems to happen immediately after they have created the database: it either gets corrupted almost immediately after just a couple Put requests, or it never gets corrupted.
If it does get corrupted, purging and recreating it often fixes the issue.
We presume that the issue might have something to do with the fact that we're not using the exact 1.0.0 version, instead our lmdb.h version field says 0.9.90, which probably means we just got the master branch from github at some point? We're thinking to either downgrade to the official 0.9.35 tag or to upgrade to 1.0.0.