The default settings enable checksum verification on every read.

Summary: The default settings enable checksum verification on every read.

Test Plan: make check

Reviewers: haobo

Reviewed By: haobo

CC: leveldb

Differential Revision: https://reviews.facebook.net/D15591
This commit is contained in:
Dhruba Borthakur
2014-01-30 14:58:37 -08:00
parent 3c0dcf0e25
commit abd70ecc2b
2 changed files with 5 additions and 4 deletions

View File

@@ -2088,7 +2088,6 @@ Compaction* VersionSet::CompactRange(int input_level, int output_level,
Iterator* VersionSet::MakeInputIterator(Compaction* c) {
ReadOptions options;
options.verify_checksums = options_->paranoid_checks;
options.fill_cache = false;
// Level-0 files have to be merged together. For other levels,