Repository navigation
[kv] Enable prefix Bloom filters - #4929
Open
platinumhamburg wants to merge 9 commits into
Open
platinumhamburg wants to merge 9 commits into
platinumhamburg wants to merge 9 commits into
Conversation
platinumhamburg
marked this pull request as ready for review
October 28, 2026 15:51
2 tasks done
platinumhamburg
force-pushed
the
enable-prefix-bloom
branch
from
October 30, 2026 03:19
fa32606 to
219e47d
Compare
platinumhamburg
force-pushed
the
enable-prefix-bloom
branch
from
October 30, 2026 12:36
219e47d to
f56c138
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Linked issue: close #1856
Enable cluster-wide prefix Bloom filtering so prefix lookups on compatible primary-key KV tables can skip SSTs that do not contain the requested bucket-key prefix.
Brief change log
kv.rocksdb.use-prefix-bloom-filter, defaulting tofalse. TabletServers apply the setting when opening KV instances; restart TabletServers to apply changes to existing instances.RocksDBResourceContainer.io.github.fluss-contrib:fluss-rocksdbjni:11.8.1-fluss-4.Tests
120 targeted server tests passed (
RocksDBPrefixBloomTest,RocksDBKvTest,KvManagerTest). Checkstyle, Spotless and license checks passed. Local RPC and encoder regression suites passed; two pre-existing disabled RPC tests were skipped. Generated configuration documentation was verified against the option definition.TabletServiceITCasesuite on a local three-TabletServer cluster with prefix Bloom enabled.API and Format
Adds a cluster configuration option. Primary-key bytes and the Fluss KV format version are unchanged. Encoders expose generic layouts; the RocksDB resource container converts them internally without per-key Java callbacks. Existing SSTs remain readable, and new filters are built through flush and compaction.
Documentation
Document the cluster option, default, restart requirement, compatibility fallback, INFO observations, SST behavior and interaction with the existing Bloom-filter configuration in the server configuration reference.