After CDC task delay recovery, Grafana's changefeed checkpoint lag is incorrect

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: cdc任务延迟恢复后,grafana的changefeed checkpoint lag显示不对

| username: l940399478

[TiDB Usage Environment] Production Environment
[TiDB Version] 5.1.4
[Encountered Issue]
After the CDC task delay recovery, the changefeed checkpoint lag displayed in Grafana is incorrect.

[Issue Phenomenon and Impact]
After the CDC task delay recovery, the changefeed checkpoint lag displayed in Grafana is incorrect and remains constant.
changefeed lag
The changefeed checkpoint is the same as the current time, but the changefeed checkpoint lag always remains at a fixed value.

| username: 爱白话的晓辉 | Original post link

It might be that one of your tables is still experiencing latency. I had the same issue before. Additionally, before version 5.4.2, there was a bug in CDC related to special characters.

| username: l940399478 | Original post link

However, looking at the changefeed checkpoint and the current time, they are always consistent, so there shouldn’t be any delay.

| username: l940399478 | Original post link

Moreover, I checked the downstream Kafka data, and there is real-time latest data coming in.

| username: l940399478 | Original post link

Looking at the table resolved ts, there is no delay for the corresponding CDC task.

| username: l940399478 | Original post link

Resolved after restarting the CDC node.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.