yugabyte/yugabyte-db

[DocDB] Add additional logging about SST files

Open

#20,880 创建于 2024年1月31日

在 GitHub 查看
 (12 评论) (0 反应) (1 负责人)C (1,003 fork)batch import
area/docdbdatapath-onboardinggood first issuekind/enhancementpriority/medium

仓库指标

Star
 (8,229 star)
PR 合并指标
 (平均合并 17天 21小时) (30 天内合并 92 个 PR)

描述

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.

贡献者指南