pingcap / pingcap/tiflash

Store size suddenly started increasing due to stale snapshot

Open
#9,331 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

component/storage severity/moderate type/bug
Dominant language
C++
Stars
1k
Forks
423
Avg merge
1d 15h
Merged PRs (30d)
24

Description

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

Disk size / Store size of Tiflash slowly started increasing all of a sudden.

2. What did you expect to see? (Required)
  • no disk size increase
3. What did you see instead (Required)

Disk size / Store size of Tiflash slowly started increasing all of a sudden.

See https://snapshots.raintank.io/dashboard/snapshot/moA6q18u4GrG0y5qLgZiXqjd9Lxw7BXP?orgId=0&viewPanel=53&from=1720289323641&to=1720386710155 for a snapshot of Store size metrics.

Screenshot 2024-08-16 at 5 24 45 PM

4. What is your TiFlash version? (Required)

v7.1.2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked Store size metrics snapshot and the TiFlash v7.1.2 context; the report names no source files or tests. Determine how to reproduce the stale-snapshot growth and identify the relevant storage or snapshot entry point, then verify that Store size no longer increases unexpectedly.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.