yugabyte/yugabyte-db

[DocDB] Add additional logging about SST files

Open

#20,880 opened on 2024年1月31日

GitHub で見る
 (12 comments) (0 reactions) (1 assignee)C (1,003 forks)batch import
area/docdbdatapath-onboardinggood first issuekind/enhancementpriority/medium

Repository metrics

Stars
 (8,229 stars)
PR merge metrics
 (平均マージ 17d 21h) (30d で 92 merged PRs)

説明

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.

コントリビューターガイド