forked from facebook/rocksdb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass through use_fs_buffer to Read method (facebook#13200)
Summary: This is a follow up to facebook#13177, which was supposed to disable the file system buffer optimization for compaction reads. However, it did not work as expected because I did not pass through `use_fs_buffer` to the `Read` method, which also calls `UseFSBuffer`. Pull Request resolved: facebook#13200 Test Plan: I added simple tests to verify we do not hit the overflow issue when we are doing compaction prefetches. ``` ./prefetch_test --gtest_filter="*FSBufferPrefetchForCompaction*" ``` Of course I will be looking through the warm storage crash test logs as well once the change is merged. Reviewed By: anand1976 Differential Revision: D66996079 Pulled By: archang19 fbshipit-source-id: b4d9254f1354ccfc53a307174de5f2388b7e5474
- Loading branch information
1 parent
d386385
commit 5aead7a
Showing
3 changed files
with
65 additions
and
5 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
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