Skip to content

Conversation

@pkova
Copy link
Collaborator

@pkova pkova commented Feb 2, 2026

The primary reason to upgrade lmdb here is the fact that latest master LMDB uses the NtCreateSection api to implement sparse files on windows. With the current windows binary every epoch immediately writes a 63 GB data.mdb file to disk which is less than ideal.

Unfortunately there's no tagged release out with this fix, but this repository changes very infrequently and the LMDB guys know what they are doing so I determine the risk of upgrading here to be quite low.

We also get
LMDB/lmdb@82c5609 as a bonus with a fix for macos fsync so we can get rid of our patched mdb.c.

The primary reason to upgrade lmdb here is the fact that latest master LMDB uses
the NtCreateSection api to implement sparse files on windows. With the current
windows binary every epoch immediately writes a 63 GB data.mdb file to disk
which is less than ideal.

Unfortunately there's no tagged release out with this fix, but this repository
changes very infrequently and the LMDB guys know what they are doing so I
determine the risk of upgrading here to be quite low.

We also get
LMDB/lmdb@82c5609
as a bonus with a fix for macos fsync so we can get rid of our patched mdb.c.
@pkova pkova requested a review from a team as a code owner February 2, 2026 17:38
@pkova pkova merged commit acef8fc into develop Feb 2, 2026
2 checks passed
@pkova pkova deleted the pkova/bump-lmdb branch February 2, 2026 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant