Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: cdc监控状态不对

[Test Environment for TiDB]
[TiDB Version]
6.1.1
[Reproduction Path]
After enabling two change feeds for synchronization, manually pause the task with ID 38c108c6-3ef0-46c7-8862-a3c63d269ebb, then observe through cdc cli and Grafana monitoring.
- Pause the task using cdc cli --pd=localhost:2379 changefeed pause --changefeed-id 38c108c6-3ef0-46c7-8862-a3c63d269ebb
- List tasks using cdc cli --pd=localhost:2379 changefeed list
See that 38c108*** is in stopped status
- Query the task using cdc cli --pd=localhost:2379 changefeed query --changefeed-id=38c108c6-3ef0-46c7-8862-a3c63d269ebb
See that the admin-job-type status is 1 (paused)
- See through Grafana monitoring that the status is 3
- After deleting 38c108c6-3ef0-46c7-8862-a3c63d269ebb using changefeed remove --changefeed-id 38c108c6-3ef0-46c7-8862-a3c63d269ebb, Grafana still shows data, and the status remains 3
[Encountered Problem: Phenomenon and Impact]
After changing the cdc changefeed to pause or deleting it, Grafana can still collect data for that changefeed, and the status remains 3.
[Resource Configuration]
[Attachments: Screenshots/Logs/Monitoring]