-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[DocDB] Add additional logging about SST files #20880
Comments
Hi, |
Hi @Yogeshwar235, are you working on this? |
@mdbridge can i work on this?? |
Hi @kajalchaudhary07 |
@mdbridge is it correct to assume data size = total file size - metadata size? |
hmm. there are logging messages like:
so there may be a more specific meaning. Let me check |
that comes from
|
that in turn comes from
|
ok, it sadly doesn't look like it would be easy to get the data size or metadata size to UniversalCompactionPicker::SortedRun::DumpSizeInfo. Presumably this is because RocksDB doesn't actually know this information and it would require a read from disk to get it. Given this, I gets okay to drop the second part of this task. |
sorry about the delay replying; I've been on vacation and on-call. |
Oh okay, though for the second part, i am able to print metadata size and raised PR for the same - #25465 |
@kajalchaudhary07 , @Yogeshwar235 , If you want to contribute, feel free to pick up any of the issues marked as good first issue . cc me - @rthallamko3 on that and I can identify who can help you through the code reviews etc. |
Jira Link: DB-9866
Description
During a recent investigation, we wished we had more information about SST files.
This task is to add some relevant additional logging information.
First, we would like to print out the RocksDB block cache prefix in a log message when a SST file is created. We most immediately want to be able to look for collisions between different SST files so it's probably fine to print this as a series of bytes in hex.
Second,
UniversalCompactionPicker::SortedRun::DumpSizeInfo
already prints some information about selected SST files. Please add to the logging the metadata and data size rather than just total file size.Issue Type
kind/enhancement
Warning: Please confirm that this issue does not contain any sensitive information
The text was updated successfully, but these errors were encountered: