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:
main
krad 10 years ago
parent b1bbdd7919
commit 2b019a1512
  1. 2
      db/repair.cc

@ -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…
Cancel
Save