Comments (1)
Agree with that, but I wonder if it is possible to show the use of the sink error message in changefeed status, and also change normal to such as "normal with errors".
Hit this failure in ticdc log.
[2023/06/27 13:47:19.780 +08:00] [WARN] [manager.go:270] ["Sink manager backend sink fails"] [namespace=default] [changefeed=dr-autosyn-changefeed] [error="[CDC:ErrMySQLTxnError]MySQL txn error: Error 1146: Table 'ecasdb.dpl_event' doesn't exist"] [errorVerbose="[CDC:ErrMySQLTxnError]MySQL txn error: Error 1146: Table 'ecasdb.dpl_event' doesn't exist\[ngithub.com/pingcap/errors.AddStack\n\tgithub.com/pingcap/[email protected]/errors.go:174\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\tgithub.com/pingcap/[email protected]/normalize.go:164\ngithub.com/pingcap/tiflow/pkg/errors.WrapError\n\tgithub.com/pingcap/tiflow/pkg/errors/helper.go:34\ngithub.com/pingcap/tiflow/cdc/sinkv2/eventsink/txn/mysql.(*mysqlBackend).multiStmtExecute\n\tgithub.com/pingcap/tiflow/cdc/sinkv2/eventsink/txn/mysql/mysql.go:631\ngithub.com/pingcap/tiflow/cdc/sinkv2/eventsink/txn/mysql.(*mysqlBackend).execDMLWithMaxRetries.func1.3\n\tgithub.com/pingcap/tiflow/cdc/sinkv2/eventsink/txn/mysql/mysql.go:703\ngithub.com/pingcap/tiflow/cdc/sinkv2/metrics.(*Statistics).RecordBatchExecution\n\tgithub.com/pingcap/tiflow/cdc/sinkv2/metrics/statistics.go:74\ngithub.com/pingcap/tiflow/cdc/sinkv2/eventsink/txn/mysql.(*mysqlBackend).execDMLWithMaxRetries.func1\n\tgithub.com/pingcap/tiflow/cdc/sinkv2/eventsink/txn/mysql/mysql.go:691\ngithub.com/pingcap/tiflow/pkg/retry.run\n\tgithub.com/pingcap/tiflow/pkg/retry/retry_with_opt.go:57\ngithub.com/pingcap/tiflow/pkg/retry.Do\n\tgithub.com/pingcap/tiflow/pkg/retry/retry_with_opt.go:34\ngithub.com/pingcap/tiflow/cdc/sinkv2/eventsink/txn/mysql.(*mysqlBackend).execDMLWithMaxRetries\n\tgithub.com/pingcap/tiflow/cdc/sinkv2/eventsink/txn/mysql/mysql.go:680\ngithub.com/pingcap/tiflow/cdc/sinkv2/eventsink/txn/mysql.(*mysqlBackend).Flush\n\tgithub.com/pingcap/tiflow/cdc/sinkv2/eventsink/txn/mysql/mysql.go:171\ngithub.com/pingcap/tiflow/cdc/sinkv2/eventsink/txn.(*worker).doFlush\n\tgithub.com/pingcap/tiflow/cdc/sinkv2/eventsink/txn/worker.go:179\ngithub.com/pingcap/tiflow/cdc/sinkv2/eventsink/txn.(*worker).runLoop\n\tgithub.com/pingcap/tiflow/cdc/sinkv2/eventsink/txn/worker.go:135\ngithub.com/pingcap/tiflow/cdc/sinkv2/eventsink/txn.newSink.func1\n\tgithub.com/pingcap/tiflow/cdc/sinkv2/eventsink/txn/txn_sink.go:106\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\tgolang.org/x/[email protected]/errgroup/errgroup.go:75\nruntime.goexit\n\truntime/asm_amd64.s:1594](http://ngithub.com/pingcap/errors.AddStack/n/tgithub.com/pingcap/[email protected]/errors.go:174/ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs/n/tgithub.com/pingcap/[email protected]/normalize.go:164/ngithub.com/pingcap/tiflow/pkg/errors.WrapError/n/tgithub.com/pingcap/tiflow/pkg/errors/helper.go:34/ngithub.com/pingcap/tiflow/cdc/sinkv2/eventsink/txn/mysql.(*mysqlBackend).multiStmtExecute/n/tgithub.com/pingcap/tiflow/cdc/sinkv2/eventsink/txn/mysql/mysql.go:631/ngithub.com/pingcap/tiflow/cdc/sinkv2/eventsink/txn/mysql.(*mysqlBackend).execDMLWithMaxRetries.func1.3/n/tgithub.com/pingcap/tiflow/cdc/sinkv2/eventsink/txn/mysql/mysql.go:703/ngithub.com/pingcap/tiflow/cdc/sinkv2/metrics.(*Statistics).RecordBatchExecution/n/tgithub.com/pingcap/tiflow/cdc/sinkv2/metrics/statistics.go:74/ngithub.com/pingcap/tiflow/cdc/sinkv2/eventsink/txn/mysql.(*mysqlBackend).execDMLWithMaxRetries.func1/n/tgithub.com/pingcap/tiflow/cdc/sinkv2/eventsink/txn/mysql/mysql.go:691/ngithub.com/pingcap/tiflow/pkg/retry.run/n/tgithub.com/pingcap/tiflow/pkg/retry/retry_with_opt.go:57/ngithub.com/pingcap/tiflow/pkg/retry.Do/n/tgithub.com/pingcap/tiflow/pkg/retry/retry_with_opt.go:34/ngithub.com/pingcap/tiflow/cdc/sinkv2/eventsink/txn/mysql.(*mysqlBackend).execDMLWithMaxRetries/n/tgithub.com/pingcap/tiflow/cdc/sinkv2/eventsink/txn/mysql/mysql.go:680/ngithub.com/pingcap/tiflow/cdc/sinkv2/eventsink/txn/mysql.(*mysqlBackend).Flush/n/tgithub.com/pingcap/tiflow/cdc/sinkv2/eventsink/txn/mysql/mysql.go:171/ngithub.com/pingcap/tiflow/cdc/sinkv2/eventsink/txn.(*worker).doFlush/n/tgithub.com/pingcap/tiflow/cdc/sinkv2/eventsink/txn/worker.go:179/ngithub.com/pingcap/tiflow/cdc/sinkv2/eventsink/txn.(*worker).runLoop/n/tgithub.com/pingcap/tiflow/cdc/sinkv2/eventsink/txn/worker.go:135/ngithub.com/pingcap/tiflow/cdc/sinkv2/eventsink/txn.newSink.func1/n/tgithub.com/pingcap/tiflow/cdc/sinkv2/eventsink/txn/txn_sink.go:106/ngolang.org/x/sync/errgroup.(*Group).Go.func1/n/tgolang.org/x/[email protected]/errgroup/errgroup.go:75/nruntime.goexit/n/truntime/asm_amd64.s:1594)"]
while changefeed still show it is normal.
[root@tiup-0 ~]# tiup cdc:v6.5.3 cli changefeed list --server=http://ticdc1-peer.e2e-dr-auto-sync-5r-pref-tps-1809605-1-603:8300/
Starting component `cdc`: /root/.tiup/components/cdc/v6.5.3/cdc /root/.tiup/components/cdc/v6.5.3/cdc cli changefeed list --server=http://ticdc1-peer.e2e-dr-auto-sync-5r-pref-tps-1809605-1-603:8300/
[
{
"id": "dr-autosyn-changefeed",
"namespace": "default",
"summary": {
"state": "normal",
"tso": 442446779705196803,
"checkpoint": "2023-06-27 01:28:40.726",
"error": null
}
}
]
from tiflow.
Related Issues (20)
- add pulsar integration test docker file
- CDC on disk data size keep increasing during normal replicating and results in CDC disk full HOT 1
- support go 1.22
- (TiCDC) Tracking issue for pulsar mtls and oauth integration tests
- changefeed status of primary is warning but do not include error info HOT 4
- Incremental sync mode may cause DM cluster to crash HOT 1
- dm start-task 检查表结构一直未反馈结果,没有任何错误提示 HOT 5
- (TiCDC)Dealing with SQL Mode More Correctly
- simple protocol encode enum and set index value
- cdc panic when scale out TiKV HOT 11
- kafka consumer support specify the group id
- Wrong barrier ts for partition table under frequent ddl scenario HOT 12
- DM: data lost when upstream use binary as primary key
- Dependency `blainsmith.com/go/seahash` is invalid HOT 2
- [Enhancement] Improve observability of TiCDC lag HOT 6
- simple protocol decoder support cache message and return table info delayed events
- tiflow 7.6: Bump TiDB dependency to v7.6.0
- drop index after add index finishing on primary cluster, drop index was retried repeatedly by ticdc due to add index was running on secondary and after a time, changefeed status was failed HOT 3
- data race found in the gc manager
- cdc crash when upgrade if per-table-memory-quota configured HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tiflow.