Skip to content

Conversation

michaelsproul
Copy link
Member

Issue Addressed

We are seeing some crazy IO utilisation on Holesky now that data columns have started to expire. Our previous approach of iterating the entire blobs DB doesn't seem to be scaling.

Proposed Changes

New blob pruning algorithm that uses a backwards block iterator from the epoch we want to prune, stopping early if an already-pruned slot is encountered.

Additional Info

This is incompatible with intentionally gappy blob DBs, which we have thought about trying to support but have no near-term plans of implementing. We could probably make gappy DBs work by reverting to the more inefficient pruning.

@michaelsproul michaelsproul added work-in-progress PR is a work-in-progress database fulu Required for the upcoming Fulu hard fork labels Oct 22, 2025
@michaelsproul michaelsproul added ready-for-review The code is ready for review v8.0.0 Q4 2025 Fusaka Mainnet Release and removed work-in-progress PR is a work-in-progress labels Oct 23, 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!

@jimmygchen jimmygchen added ready-for-merge This PR is ready to merge. and removed ready-for-review The code is ready for review labels Oct 23, 2025
@mergify mergify bot added the queued label Oct 23, 2025
mergify bot added a commit that referenced this pull request Oct 23, 2025
@jimmygchen jimmygchen mentioned this pull request Oct 23, 2025
@mergify mergify bot merged commit 2e55a0a into unstable Oct 23, 2025
37 checks passed
@mergify mergify bot deleted the efficient-blob-pruning branch October 23, 2025 05:54
@mergify mergify bot removed the queued label Oct 23, 2025
mergify bot pushed a commit that referenced this pull request Oct 23, 2025
Open PRs to include for the release
- #7907
- #8247
- #8251
- #8253
- #8254
- #8265
- #8269
- #8266


  


Co-Authored-By: Jimmy Chen <[email protected]>

Co-Authored-By: Jimmy Chen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

database fulu Required for the upcoming Fulu hard fork ready-for-merge This PR is ready to merge. v8.0.0 Q4 2025 Fusaka Mainnet Release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants