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
This commit is contained in:
jsteemann 2020-08-06 14:24:24 -07:00 committed by Facebook GitHub Bot
parent 3356187617
commit 5e1808d515
3 changed files with 4 additions and 4 deletions

View File

@ -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");
}
}
}

View File

@ -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");
}
}

View File

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