Comments (6)
hi @zhapuyu
what is error? If we meet an error, can we safely skip this binlog event and try to handle next?
from go-mysql.
We meet some errors, maybe it is caused by mysql.
Yes, we can retry. #51 Please.
from go-mysql.
Can you show me the detailed error message?
from go-mysql.
[2016/06/30 11:22:52] sync.go:50 [Error] handle rows event error connection was bad
Only this error message. It will make program to stop.
Once I ignored the error from handleRowsEvent(), the program will continue as usual.
from go-mysql.
Hi @zhapuyu
This error seems that mysql connection is closed, so even you skip this error, next handle will still raise error too.
from go-mysql.
Maybe not. The program continues when i ignored the error.
Canal will retry to connect when connection is bad.
from go-mysql.
Related Issues (20)
- Run tests for mysql 5.x without a github ubuntu-18.04 image HOT 2
- Remove support for CLIENT_SECURE_CONNECTION capability flag (rename to CLIENT_RESERVED2)
- how about add a builded docker image to make canal part more visibility and easier HOT 2
- is "before image" supported? HOT 3
- How to close client pool ? HOT 1
- mysqldump --skip opt needs to removed HOT 2
- Is it possible to use github.com/klauspost/compress instead of github.com/DataDog/zstd HOT 5
- TableMapEvent 中 ColumnName 获取列名称是空数据。mysql是5.7版本 HOT 5
- Can we only focus the data changes of the tables we care about? HOT 1
- 关于Canal的binlog事件重试疑问 HOT 1
- 什么情况下event.Rows长度会为0 或者为nil? HOT 1
- When will the length of event.Rows be 0 or nil? HOT 4
- invalid sequence 0 != 1 HOT 6
- canal.RowsEvent returns 2 duplicate rows for every update event HOT 2
- Proper way to save position after Canal OnRow event HOT 3
- canal处理Text类型字段时增量日志和存量日志对应的数据结构不同 HOT 1
- add value string output HOT 5
- add a EventCacheSize variable to BinlogSyncerConfig to limit the streamer's memory usage
- How to start binlog syncer from last position HOT 3
- Tables
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 go-mysql.