rocksdb/table
anand76 4868c10b44 Retry block reads on checksum mismatch (#12427)
Summary:
On file systems that support storage level data checksum and reconstruction, retry SST block reads for point lookups, scans, and flush and compaction if there's a checksum mismatch on the initial read. A file system can indicate its support by setting the `FSSupportedOps::kVerifyAndReconstructRead` bit in `SupportedOps`.

Tests:
Add new unit tests

Pull Request resolved: https://github.com/facebook/rocksdb/pull/12427

Reviewed By: ajkr

Differential Revision: D55025941

Pulled By: anand1976

fbshipit-source-id: dbd990cb75e03f756c8a66d42956f645c0b6d55e
2024-03-18 16:16:05 -07:00
..
adaptive
block_based Retry block reads on checksum mismatch (#12427) 2024-03-18 16:16:05 -07:00
cuckoo
plain
block_fetcher.cc Retry block reads on checksum mismatch (#12427) 2024-03-18 16:16:05 -07:00
block_fetcher.h Retry block reads on checksum mismatch (#12427) 2024-03-18 16:16:05 -07:00
block_fetcher_test.cc
cleanable_test.cc
compaction_merging_iterator.cc
compaction_merging_iterator.h
format.cc
format.h
get_context.cc
get_context.h
internal_iterator.h Support returning write unix time in iterator property (#12428) 2024-03-15 15:37:37 -07:00
iter_heap.h
iterator.cc
iterator_wrapper.h Support returning write unix time in iterator property (#12428) 2024-03-15 15:37:37 -07:00
merger_test.cc
merging_iterator.cc Support returning write unix time in iterator property (#12428) 2024-03-15 15:37:37 -07:00
merging_iterator.h
meta_blocks.cc
meta_blocks.h
mock_table.cc
mock_table.h
multiget_context.h
persistent_cache_helper.cc
persistent_cache_helper.h
persistent_cache_options.h
scoped_arena_iterator.h
sst_file_dumper.cc
sst_file_dumper.h
sst_file_reader.cc
sst_file_reader_test.cc
sst_file_writer.cc
sst_file_writer_collectors.h
table_builder.h
table_factory.cc
table_properties.cc
table_properties_internal.h
table_reader.h
table_reader_bench.cc
table_test.cc Support returning write unix time in iterator property (#12428) 2024-03-15 15:37:37 -07:00
two_level_iterator.cc
two_level_iterator.h
unique_id.cc
unique_id_impl.h