cockroachdb / cockroachdb/cockroach

storage: export file deletion timeseries

Open
#112,877 1 comment 0 reactions 0 assignees View on GitHub
A-storage C-enhancement O-support P-3 T-storage
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

File deletion can cause spikes in IO as the filesystem reclaims used blocks. To avoid IO spikes from impacting foreground traffic, we pace file deletions. This smoothes deletion IO over time. Smoothing is a delicate balance, because falling behind of file deletions can also impact foreground traffic.

We should export timeseries around the count and size of deleted files so that we better understand the rate at which file deletions are occurring practice, and their potential impact on foreground traffic.

May have helped in cockroachlabs/support#2673.

Jira issue: CRDB-32656

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.