-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add some asserts in FilePickerMultiGet for debugging (#12241)
Summary: Add asserts to help debug a crash test failure. The test fails as wollows - ```rocksdb::FilePickerMultiGet::PrepareNextLevel(): Assertion `fp_ctx.search_right_bound == -1 || fp_ctx.search_right_bound == FileIndexer::kLevelMaxIndex' failed``` Also add a unit test to verify an edge case. Pull Request resolved: #12241 Reviewed By: cbi42 Differential Revision: D52819029 Pulled By: anand1976 fbshipit-source-id: 33316985c8ace1aed9ecc2400da8b777aec488ff
- Loading branch information
1 parent
c4228ab
commit 65e162b
Showing
2 changed files
with
65 additions
and
0 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