-
Notifications
You must be signed in to change notification settings - Fork 713
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactoring index covering check to match MyRocks and add non-coverin…
…g SK tests and rocksdb_covering_secondary_key stats Summary: When considering when a secondary key is covering, we need to also consider lookup bitmap for some special cases like using covering bitmap w/ prefix keys. This isn't much of an issue with 5.6 today because we don't actually enable covering bitmap format in prod but in 8.0 it might be an issue. Either way this refactors the covering check to be exactly the same as MyRocks does. Also adds more tests for covering / non covering prefix tests. Also in order to catch cases where we incorrectly consider covering secondary keys to be non-covering, I've added rocksdb_covering_secondary_key_count support into bypass (should've done that earlier) and added checks in secondary range key tests to ensure covering check is done correctly. Reviewed By: Pushapgl Differential Revision: D26091555 fbshipit-source-id: 0f86e8284ef
- Loading branch information
1 parent
f1dfd5a
commit 30e9039
Showing
21 changed files
with
2,371 additions
and
2,048 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--disable_query_log | ||
DROP TABLE count_table; | ||
DROP TABLE link_table; | ||
DROP TABLE link_table3; | ||
DROP TABLE link_table2; | ||
DROP TABLE id_table; | ||
DROP TABLE node_table; | ||
DROP TABLE link_table5; | ||
DROP TABLE link_table5_rev; | ||
DROP TABLE link_table6; | ||
DROP TABLE link_table4; | ||
DROP TABLE link_text; | ||
DROP TABLE link_varchar; | ||
--enable_query_log |
This file contains 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
Oops, something went wrong.