-
Notifications
You must be signed in to change notification settings - Fork 293
Description
Bug Report
Please answer these questions before submitting your issue. Thanks!
-
What did you do? If possible, provide a recipe for reproducing the error.
Use TiCDC to replicate data to a MySQL sink. The downstream sink URI is a domain that reflects a MySQL database and its follower database. When the domain the reflection from the follower database to the leader database (the follower database meets some errors), TiCDC's changefeed can't auto-resume unless we resume this changefeed manually. -
What did you expect to see?
TiCDC won't pause or can auto-resume when a switch happens. -
What did you see instead?
We need to resume changefeed manually.
TiCDC log reported
[2021/01/18 18:34:51.546 +08:00] [WARN] [mysql.go:722] ["execute DMLs with error, retry later"] [error="[CDC:ErrMySQLTxnError]Error 3100: Error on observer while running replication hook 'before_commit'."]
[2021/01/18 18:34:52.195 +08:00] [WARN] [mysql.go:722] ["execute DMLs with error, retry later"] [error="[CDC:ErrMySQLTxnError]Error 1290: The MySQL server is running with the --read-only option so it cannot execute this statement"]
-
Versions of the cluster
-
Upstream TiDB cluster version (execute
SELECT tidb_version();
in a MySQL client):(paste TiDB cluster version here)
-
TiCDC version (execute
cdc version
):(paste TiCDC version here)
v4.0.10
-