Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: changefeed statistics显示疑问
【TiDB Usage Environment】Production Environment or Test Environment or POC
【TiDB Version】
The source is continuously inserting data, and there is no problem replicating it downstream.
When checking the changefeed statistics information, both ops and count are always displayed as 0. Why is this?
tiup ctl:v4.0.16 cdc changefeed statistics --pd=http://xxx.xxx.xxx.136:2379 --changefeed-id=“cdc2”
Starting component ctl
: /home/tidb/.tiup/components/ctl/v4.0.16/ctl cdc changefeed statistics --pd=http://xxx.xxx.xxx.136:2379 --changefeed-id=cdc2
{
“ops”: 0,
** “count”: 0,**
“sink_gap”: “1000ms”,
“replication_gap”: “2650ms”
}
{
“ops”: 0,
** “count”: 0,**
“sink_gap”: “1000ms”,
“replication_gap”: “2600ms”
}
【Encountered Problem】
【Reproduction Path】What operations were performed to encounter the problem
【Problem Phenomenon and Impact】
【Attachments】
Please provide the version information of each component, such as cdc/tikv, which can be obtained by executing cdc version/tikv-server --version.