-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Enable prefix bloom filter by default #2860
Conversation
auto eng = folly::stringPrintf("Engine %zu", i); | ||
obj[eng] = std::move(value(val)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice
only display on HTTP interface ? |
Yeah, rocksdb stats also provide in http only |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. do we submit this PR to 2.6?
Yeah, I have tested before. The compatibility need to check carefully later. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job
} | ||
bbtOpts.whole_key_filtering = FLAGS_enable_rocksdb_whole_key_filtering; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have a question:
When enable_rocksdb_prefix_filtering
and enable_rocksdb_whole_key_filterin
are both true,
which one is used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both of them could used at the same time.
rocksdb::ReadOptions options; | ||
// prefix_same_as_start is false by default | ||
options.total_order_seek = FLAGS_enable_rocksdb_prefix_filtering; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
enable_rocksdb_statistics
to true). For example:Close #2601
@randomJoe211, please check if we need to add a doc about the http interfaces.
@HarrisChu, I have check the compatibility during test, everything works fine. Please pay attention to compatible test later. (write new data to old storage, check data)