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
|
// corruptions cause entire commits to be skipped instead of
|
||||||
// propagating bad information (like overly large sequence
|
// propagating bad information (like overly large sequence
|
||||||
// numbers).
|
// 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*/);
|
0/*initial_offset*/);
|
||||||
|
|
||||||
// Read all the records and add to a memtable
|
// Read all the records and add to a memtable
|
||||||
|
Loading…
Reference in New Issue
Block a user