pingcap / pingcap/ticdc

CPU spikes after removing the changefeed

Open
#1,156 3 comments 0 reactions 1 assignee View on GitHub

@3AceShowHand is already working on this.

Since Mar 26, 2025.

severity/moderate type/bug
Dominant language
Go
Stars
56
Forks
63
Avg merge
2d 20h
Merged PRs (30d)
34

Description

What did you do?
  • create one changefeed, and Load 1,000,000 tables
  • remove the changefeed
What did you expect to see?

the changefeed should remove all resource silently

What did you see instead?

Image

The CPU spikes to around 1800% at the most

Versions of the cluster

Upstream TiDB cluster version (execute SELECT tidb_version(); in a MySQL client):

(paste TiDB cluster version here)

Upstream TiKV version (execute tikv-server --version):

(paste TiKV version here)

TiCDC version (execute cdc version):

master

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.