mirror of
https://github.com/facebook/rocksdb.git
synced 2024-11-26 16:30:56 +00:00
Enabling checksum in repair db as it should have been.
Summary: I think the checksum was turned off by mistake. Test Plan: Run make check Reviewers: igor sdong chip CC: Task ID: Blame Rev:
This commit is contained in:
parent
b1bbdd7919
commit
2b019a1512
|
@ -217,7 +217,7 @@ class Repairer {
|
|||
// corruptions cause entire commits to be skipped instead of
|
||||
// propagating bad information (like overly large sequence
|
||||
// numbers).
|
||||
log::Reader reader(std::move(lfile), &reporter, false/*do not checksum*/,
|
||||
log::Reader reader(std::move(lfile), &reporter, true /*enable checksum*/,
|
||||
0/*initial_offset*/);
|
||||
|
||||
// Read all the records and add to a memtable
|
||||
|
|
Loading…
Reference in a new issue