Changfeed rules filter is updated to be invalid format, changfeed status becomes to failed #1625
Labels
area/ticdc
Issues or PRs related to TiCDC.
bug-from-internal-test
Bugs found by internal testing.
severity/major
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
" tiup cdc cli changefeed update --config changfeed.toml -c replication-task-1 --pd=http://172.31.10.94:2379", update rules filter sucessfully.
query this changfeed, check the filter rules is :
"filter": {
"rules": [
"rtest1",
"rtest2"
],
Then the changfeed status become to failed, and cannot be resumed.
There's no way to update filter rules to be correct format. Failed changfeed cannot be recovered.
What did you expect to see?
If config file changfeed.toml has invalid content, the update cli should be failed to execute, to avoid the changfeed become failed status and unrecoverable.
What did you see instead?
Versions of the cluster
Upstream TiDB cluster version (execute
SELECT tidb_version();
in a MySQL client):TiCDC version (execute
cdc version
):The text was updated successfully, but these errors were encountered: