TiCDC show old error messages when query the changefeed after pause it #11642
Labels
area/ticdc
Issues or PRs related to TiCDC.
severity/moderate
type/enhancement
The issue or PR belongs to an enhancement.
When we pause a changefeed and query the state of the changefeed, it may output with previous error message, which will make a little confused.
In code, now we only clear the error message when changefeed state is normal. While in stopped / finished / removed, we also should not return the previous error info.
The text was updated successfully, but these errors were encountered: