Skip to content

Conversation

@zhangchiqing
Copy link
Member

Add an experimental bitswap-bloom-cache-enabled flag (default: true) that controls whether the Bitswap bloom cache is used for Access/Execution/Observer nodes. When disabled, the blob service uses a new WithSkipBloomCache option to skip the cached blockstore and instead use a plain Pebble-backed blockstore, avoiding the CPU cost of building bloom filters at startup while still relying on Pebble’s SSTable bloom filters.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 4, 2025

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@codecov-commenter
Copy link

codecov-commenter commented Dec 4, 2025

Codecov Report

❌ Patch coverage is 22.58065% with 24 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
network/p2p/blob/blob_service.go 0.00% 14 Missing ⚠️
cmd/scaffold.go 0.00% 4 Missing ⚠️
cmd/access/node_builder/access_node_builder.go 0.00% 2 Missing ⚠️
cmd/execution_builder.go 0.00% 2 Missing ⚠️
cmd/observer/node_builder/observer_builder.go 0.00% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

@zhangchiqing zhangchiqing marked this pull request as ready for review December 8, 2025 23:32
@zhangchiqing zhangchiqing requested a review from a team as a code owner December 8, 2025 23:32
ComplianceConfig: compliance.DefaultConfig(),
DhtSystemEnabled: true,
BitswapReprovideEnabled: true,
BitswapBloomCacheEnabled: true, // default: use cached blockstore TODO leo: change default to false
Copy link
Member Author

Choose a reason for hiding this comment

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

The test cases also passed when I changed the default to false.

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.

4 participants