rocksdb/utilities/checkpoint
Peter Dillinger 25bddfa632 Work around a backup bug with DB custom checksums
Summary: On a read-write DB configured with
DBOptions::file_checksum_gen_factory, BackupEngine::CreateNewBackup can
fail intermittently, with non-OK status. This is due to a race between
GetLiveFiles and GetLiveFilesChecksumInfo in creating backups.

For patching 6.12 release (as this commit is intended for), we can simply
treat files for which we falsely failed to get checksum info as legacy
files lacking checksum info.

Test Plan: unit test reproducer included
2020-08-20 15:24:11 -07:00
..
checkpoint_impl.cc Work around a backup bug with DB custom checksums 2020-08-20 15:24:11 -07:00
checkpoint_impl.h BackupEngine verifies table file checksums on creating new backups (#7015) 2020-07-02 18:15:12 -07:00
checkpoint_test.cc More Makefile Cleanup (#7097) 2020-07-09 14:35:17 -07:00