Skip to content
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

Revert bloom filter name extension #794

Merged
merged 1 commit into from
Aug 2, 2024

Conversation

v01dstar
Copy link

@v01dstar v01dstar commented Jul 29, 2024

Apply RocksDB fix tikv/rocksdb#365, which uses prefix match instead of exact match for determining whether a bloom filter is compatible or not.

Also, revert the change that added the filter type as suffix, since it is unnecessary (all internal filters can be used interchangeably), and is causing compatibility issues (tikv/tikv#17272), i.e. SSTs created before 7.1 with filter meta block named using rocksdb.BuiltinBloomFilter are no longer recognized by newer versions of TiKV.

We will probably have to maintain the customized change "prefix match" for a while, to make sure impacted versions are migrated smoothly.

Copy link
Member

@Connor1996 Connor1996 left a comment

Choose a reason for hiding this comment

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

LGTM

@Connor1996 Connor1996 merged commit c92c467 into tikv:master Aug 2, 2024
2 checks passed
@v01dstar v01dstar deleted the fix-bloom-filter branch August 2, 2024 02:07
v01dstar added a commit to v01dstar/rust-rocksdb that referenced this pull request Aug 5, 2024
@v01dstar v01dstar mentioned this pull request Aug 5, 2024
v01dstar added a commit to v01dstar/rust-rocksdb that referenced this pull request Aug 5, 2024
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.

3 participants