Revision e1c468d16ff3400508570fbbed4d4b01f3505471 authored by sdong on 16 August 2019, 23:40:09 UTC, committed by Facebook Github Bot on 16 August 2019, 23:42:56 UTC
Summary:
Right now VerifyChecksum() doesn't do read-ahead. In some use cases, users won't be able to achieve good performance. With this change, by default, RocksDB will do a default readahead, and users will be able to overwrite the readahead size by passing in a ReadOptions.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/5713

Test Plan: Add a new unit test.

Differential Revision: D16860874

fbshipit-source-id: 0cff0fe79ac855d3d068e6ccd770770854a68413
1 parent e89b1c9
History
File Mode Size
block_cache_tracer.cc -rw-r--r-- 17.5 KB
block_cache_tracer.h -rw-r--r-- 11.0 KB
block_cache_tracer_test.cc -rw-r--r-- 15.3 KB
trace_replay.cc -rw-r--r-- 8.9 KB
trace_replay.h -rw-r--r-- 4.7 KB

back to top