Skip to content

Commit

Permalink
Add Logging for debugging InputFileCheck Failure (#13427)
Browse files Browse the repository at this point in the history
Summary:
Add detailed log for debugging purpose

Pull Request resolved: #13427

Test Plan: CI

Reviewed By: cbi42, hx235

Differential Revision: D70274613

Pulled By: jaykorean

fbshipit-source-id: de4bc61853136b923aa786717e7979be8886b9bd
  • Loading branch information
jaykorean authored and facebook-github-bot committed Feb 26, 2025
1 parent 3af905a commit d1f383b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions db/db_impl/db_impl_secondary.cc
Original file line number Diff line number Diff line change
Expand Up @@ -913,6 +913,10 @@ Status DBImplSecondary::CompactWithoutInstallation(
Status s = cfd->compaction_picker()->GetCompactionInputsFromFileNumbers(
&input_files, &input_set, vstorage, comp_options);
if (!s.ok()) {
ROCKS_LOG_ERROR(
immutable_db_options_.info_log,
"GetCompactionInputsFromFileNumbers() failed - %s.\n DebugString: %s",
s.ToString().c_str(), version->DebugString().c_str());
return s;
}

Expand Down

0 comments on commit d1f383b

Please sign in to comment.