-
Notifications
You must be signed in to change notification settings - Fork 6.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Remote Compaction] Additional debug logging for InputFileCheck Failure #13452
[Remote Compaction] Additional debug logging for InputFileCheck Failure #13452
Conversation
a65ab98
to
bfe7ce8
Compare
bfe7ce8
to
da8c54a
Compare
Summary: Add debug logging when the Wait() does not return `kSuccess` so that we can compare the version state that was printed by the logging added in facebook#13427 upon InputFileCheck failure. # Test Plan CI + Tested with Temporary Change in Meta Internal Infra Differential Revision: D70898832 Pulled By: jaykorean
@jaykorean has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a question about hex
@@ -110,6 +110,9 @@ CompactionJob::ProcessKeyValueCompactionWithCompactionService( | |||
break; | |||
} | |||
|
|||
std::string debug_str_before_wait = | |||
compaction->input_version()->DebugString(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we not need the hex=true here for printing the smallest key in the file etc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are only interested in the SST files in each input level. Basically the issue is that remote worker is not able to locate the input SST files in the vstorage. Key-level information is not needed for this purpose.
I am planning to remove this extra debug logging when we complete fixing the issue. (I can probably add TODO comment to remind myself :))
@jaykorean merged this pull request in 22ca6e5. |
Summary
Add debug logging when the Wait() does not return
kSuccess
so that we can compare the version state that was printed by the logging added in #13427 upon InputFileCheck failure.Test Plan
CI + Tested with Temporary Change in Meta Internal Infra