rocksdb/file
Andrew Kryczka 225abffd8f Verify file checksum generator name (#7824)
Summary:
Previously we only had a debug assertion to check the right generator was being used for verification. However a user hit a problem in production where their factory was creating the wrong generator for some files, leading to checksum mismatches. It would have been easier to debug if we verified in optimized builds that the generator with the proper name is used. This PR adds such verification.

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

Reviewed By: zhichao-cao

Differential Revision: D25740254

Pulled By: ajkr

fbshipit-source-id: a6231521747605021bad3231484b5d4f99f4044f
2021-01-04 11:51:50 -08:00
..
delete_scheduler.cc Add more tests for assert status checked (#7524) 2020-12-22 23:45:58 -08:00
delete_scheduler.h
delete_scheduler_test.cc
file_prefetch_buffer.cc Return Status from FilePrefetchBuffer::TryReadFromCache() (#7816) 2020-12-30 09:25:09 -08:00
file_prefetch_buffer.h Return Status from FilePrefetchBuffer::TryReadFromCache() (#7816) 2020-12-30 09:25:09 -08:00
file_util.cc Verify file checksum generator name (#7824) 2021-01-04 11:51:50 -08:00
file_util.h Add rate_limiter to GenerateOneFileChecksum (#7811) 2020-12-26 22:07:24 -08:00
filename.cc Remove unused includes (#7604) 2020-10-28 23:22:27 -07:00
filename.h Make FileType Public and Replace kLogFile with kWalFile (#7580) 2020-10-22 17:06:20 -07:00
prefetch_test.cc Add tests in ASSERT_STATUS_CHECKED (#7793) 2020-12-22 10:31:13 -08:00
random_access_file_reader.cc Add more tests to ASSERT_STATUS_CHECKED (4) (#7718) 2020-12-22 15:09:39 -08:00
random_access_file_reader.h Store FSRandomAccessPtr object in RandomAccessFileReader (#7192) 2020-08-27 11:21:52 -07:00
random_access_file_reader_test.cc Add more tests to ASSERT_STATUS_CHECKED (4) (#7718) 2020-12-22 15:09:39 -08:00
read_write_util.cc
read_write_util.h
readahead_raf.cc
readahead_raf.h
sequence_file_reader.cc
sequence_file_reader.h Store FSRandomAccessPtr object in RandomAccessFileReader (#7192) 2020-08-27 11:21:52 -07:00
sst_file_manager_impl.cc Add EnvTestWithParam::OptionsTest to the ASSERT_STATUS_CHECKED passes (#7283) 2020-08-20 19:18:35 -07:00
sst_file_manager_impl.h
writable_file_writer.cc Store FSWritableFilePtr object in WritableFileWriter (#7193) 2020-09-08 10:56:08 -07:00
writable_file_writer.h Store FSWritableFilePtr object in WritableFileWriter (#7193) 2020-09-08 10:56:08 -07:00