Skip to content

Disable LevelDB snappy feature #7235

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 1, 2025
Merged

Conversation

michaelsproul
Copy link
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
Copy link
Member

@jimmygchen jimmygchen left a comment

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
31 checks passed
@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