fix typo: paraniod -> paranoid (#7163)

Summary:
Rename "paraniod" to "paranoid" in a few places.

Pull Request resolved: https://github.com/facebook/rocksdb/pull/7163

Reviewed By: ajkr

Differential Revision: D22678242

fbshipit-source-id: 28b1011a736d0a95612676f7e1b9500a70c324b4
main
jsteemann 4 years ago committed by Facebook GitHub Bot
parent 3356187617
commit 5e1808d515
  1. 2
      db/builder.cc
  2. 2
      db/compaction/compaction_job.cc
  3. 4
      db/corruption_test.cc

@ -271,7 +271,7 @@ Status BuildTable(
}
s = it->status();
if (s.ok() && check_hash != paranoid_hash) {
s = Status::Corruption("Paraniod checksums do not match");
s = Status::Corruption("Paranoid checksums do not match");
}
}
}

@ -702,7 +702,7 @@ Status CompactionJob::Run() {
}
s = iter->status();
if (s.ok() && hash != files_output[file_idx]->paranoid_hash) {
s = Status::Corruption("Paraniod checksums do not match");
s = Status::Corruption("Paranoid checksums do not match");
}
}

@ -565,7 +565,7 @@ static const auto& corruption_modes = {mock::MockTableFactory::kCorruptNone,
mock::MockTableFactory::kCorruptKey,
mock::MockTableFactory::kCorruptValue};
TEST_F(CorruptionTest, ParaniodFileChecksOnFlush) {
TEST_F(CorruptionTest, ParanoidFileChecksOnFlush) {
Options options;
options.paranoid_file_checks = true;
options.create_if_missing = true;
@ -588,7 +588,7 @@ TEST_F(CorruptionTest, ParaniodFileChecksOnFlush) {
}
}
TEST_F(CorruptionTest, ParaniodFileChecksOnCompact) {
TEST_F(CorruptionTest, ParanoidFileChecksOnCompact) {
Options options;
options.paranoid_file_checks = true;
options.create_if_missing = true;

Loading…
Cancel
Save