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:
krad 2015-04-08 14:35:43 -07:00
parent b1bbdd7919
commit 2b019a1512

View File

@ -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