Move the status judgment into the block (#11534)

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

Reviewed By: cbi42

Differential Revision: D46732248

Pulled By: ajkr

fbshipit-source-id: c9360866c35a2c436ab83b85a14ed7bd43a88d95
oxigraph-main
yaphet 1 year ago committed by Facebook GitHub Bot
parent 9f774baaa8
commit 253bc91953
  1. 6
      db/external_sst_file_ingestion_job.cc

@ -708,9 +708,9 @@ Status ExternalSstFileIngestionJob::GetIngestedFileInfo(
ro.readahead_size = ingestion_options_.verify_checksums_readahead_size;
status = table_reader->VerifyChecksum(
ro, TableReaderCaller::kExternalSSTIngestion);
}
if (!status.ok()) {
return status;
if (!status.ok()) {
return status;
}
}
// Get the external file properties

Loading…
Cancel
Save