Skip to content

Disable LevelDB snappy feature#7235

Merged
mergify[bot] merged 1 commit into
release-v7.0.0from
disable-leveldb-snappy
Apr 1, 2025
Merged

Disable LevelDB snappy feature#7235
mergify[bot] merged 1 commit into
release-v7.0.0from
disable-leveldb-snappy

Conversation

@michaelsproul

Copy link
Copy Markdown
Member

Proposed Changes

Disable the snappy feature of LevelDB to prevent compilation issues with CMake 4.0, e.g.

https://github.com/sigp/lighthouse/actions/runs/14182783816/job/39732457274?pr=7231

We do not use Snappy compression in LevelDB, and do not need to compile this. This might also shave a few seconds off compilation!

Additional Info

I thought maybe we'd need to bump the LevelDB version -- an old change of mine from here:

But that PR doesn't actually fix the issue because it doesn't update the real culprit: the bundled version of snappy.

In future if we need more changes to LevelDB I think we'll have to release from our own fork, as the upstream Rust crates are essentially unmaintained.

I will merge this to release-v7.0.0 and then to unstable to unblock CI.

@michaelsproul michaelsproul added ready-for-review The code is ready for review database infra-ci dependencies Pull requests that update a dependency file labels Apr 1, 2025

@jimmygchen jimmygchen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@michaelsproul michaelsproul added ready-for-merge This PR is ready to merge. and removed ready-for-review The code is ready for review labels Apr 1, 2025
@jimmygchen jimmygchen mentioned this pull request Apr 1, 2025
@mergify mergify Bot merged commit 9bc0d51 into release-v7.0.0 Apr 1, 2025
@mergify mergify Bot deleted the disable-leveldb-snappy branch April 1, 2025 07:56
This was referenced Apr 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

database dependencies Pull requests that update a dependency file infra-ci ready-for-merge This PR is ready to merge.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants