[DocDB] Add additional logging about SST files
#20,880 opened on Jan 31, 2024
Repository metrics
- Stars
- (8,229 stars)
- PR merge metrics
- (Avg merge 17d 21h) (92 merged PRs in 30d)
Description
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
- I confirm this issue does not contain any sensitive information.