Skip to content

Prepare release v1.2.1#2021

Merged
ImplOfAnImpl merged 6 commits intorelease-v1.2.1from
prepare-release-v1.2.1
Feb 27, 2026
Merged

Prepare release v1.2.1#2021
ImplOfAnImpl merged 6 commits intorelease-v1.2.1from
prepare-release-v1.2.1

Conversation

@ImplOfAnImpl
Copy link
Contributor

A hotfix release to address the LMDB failure on Windows when the db reaches 2GB.

The cause of the issue is that our (pretty ancient) version of LMDB uses the off_t type to represent positions inside the file and off_t appears to be 32-bit on Windows, so when the db grows to 2 GB, it overflows.

The fix is the change of the revision of lmdb-rs-mintlayer in storage/lmdb/Cargo.toml (There are a few other commits with changes cherry-picked from master, needed to appease CI.)

P.S. in the lmdb-rs-mintlayer repo, the fix is in the commit 88d9f2bd49399f75ca1baa1537b2387252f9b5db (which is basically a copy of an upstream commit).
Also, the diff between v0.16.2 and 88d9f2bd49399f75ca1baa1537b2387252f9b5db includes one extra commit, which contains changes cherry-picked from lmdb-rs-mintlayer's master with various CI fixes.

Note: I won't be creating a separate PR in the lmdb-rs-mintlayer repo specifically for the v1.2.1 release, so plz review those changes as part of this PR.

@ImplOfAnImpl ImplOfAnImpl merged commit e62a832 into release-v1.2.1 Feb 27, 2026
14 checks passed
@ImplOfAnImpl ImplOfAnImpl deleted the prepare-release-v1.2.1 branch February 27, 2026 22:45
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.

2 participants