pingcap / pingcap/tidb-operator

hand on scale in if pod start after store already tombstone

Open
#4,886 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type/bug
Dominant language
Go
Stars
1.3k
Forks
540
Avg merge
3d 2h
Merged PRs (30d)
18

Description

If the pod start after the store already tombstone, if will hang on scale in since it will not add the store-id label.

Screen Shot 2023-02-17 at 11 11 15 Screen Shot 2023-02-17 at 11 13 14

Contributor guide

Open the contributing guide

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 by reproducing the pod-start-after-store-tombstone scenario described in the issue and trace the TiDB Operator path that adds the store-id label. Done means scale-in completes without hanging when the store is already tombstoned; no source files or tests are named, so locating the relevant controller and coverage is part of the work.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.