402fe7d469
Summary: The ```for``` loop in ```VerifyChecksumInBlocks``` only checks ```index_iter->Valid()``` which could be ```false``` either due to reaching the end of the index or, in case of partitioned index, it could be due to a checksum mismatch error when reading a 2nd level index block. Instead of throwing away the index iterator status, we need to return any errors back to the caller. Tests: Add a test in block_based_table_reader_test.cc. Pull Request resolved: https://github.com/facebook/rocksdb/pull/6909 Reviewed By: pdillinger Differential Revision: D21833922 Pulled By: anand1976 fbshipit-source-id: bc778ebf1121dbbdd768689de5183f07a9f0beae |
||
---|---|---|
.. | ||
fault_injection_test_env.cc | ||
fault_injection_test_env.h | ||
fault_injection_test_fs.cc | ||
fault_injection_test_fs.h | ||
mock_time_env.h | ||
sync_point_impl.cc | ||
sync_point_impl.h | ||
sync_point.cc | ||
sync_point.h | ||
testharness.cc | ||
testharness.h | ||
testutil.cc | ||
testutil.h | ||
transaction_test_util.cc | ||
transaction_test_util.h |