Skip to content

Commit

Permalink
Disable logging during verification (breaks tests)
Browse files Browse the repository at this point in the history
  • Loading branch information
rschu1ze committed Jul 14, 2024
1 parent 3258b5c commit 01e4356
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions table/block_based/block_based_table_reader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -701,6 +701,7 @@ Status BlockBasedTable::Open(
} else {
TEST_SYNC_POINT_CALLBACK("BlockBasedTable::Open::SkippedVerifyUniqueId",
nullptr);
#if 0
if (ioptions.verify_sst_unique_id_in_manifest && ioptions.logger) {
// A crude but isolated way of reporting unverified files. This should not
// be an ongoing concern so doesn't deserve a place in Statistics IMHO.
Expand All @@ -719,6 +720,7 @@ Status BlockBasedTable::Open(
"Another ~1000 SST files opened without unique ID to verify");
}
}
#endif
}

// Set up prefix extracto as needed
Expand Down

0 comments on commit 01e4356

Please sign in to comment.