go-mysql-org / go-mysql-elasticsearch

Sync MySQL data into elasticsearch
MIT License
4.11k stars 797 forks source link

canal start sync binlog err: data len 0 < expected 1 #379

Open woordee opened 4 years ago

woordee commented 4 years ago

time="2020-07-29T20:56:41+08:00" level=info msg="create BinlogSyncer with config {1001 mysql 192.168.. 3306 username utf8mb4 false false false false 0 0s 0s 0}" time="2020-07-29T20:56:41+08:00" level=info msg="run status http server 127.0.0.1:12800" time="2020-07-29T20:56:41+08:00" level=info msg="skip dump, use last binlog replication pos (mysql-bin.000023, 179663003) or GTID %!s()" time="2020-07-29T20:56:41+08:00" level=info msg="begin to sync binlog from position (mysql-bin.000023, 179663003)" time="2020-07-29T20:56:41+08:00" level=info msg="register slave for master server 192.168.22.30:3306" time="2020-07-29T20:56:41+08:00" level=info msg="start sync binlog at binlog file (mysql-bin.000023, 179663003)" time="2020-07-29T20:56:41+08:00" level=info msg="rotate to (mysql-bin.000023, 179663003)" time="2020-07-29T20:56:41+08:00" level=info msg="rotate binlog to (mysql-bin.000023, 179663003)" time="2020-07-29T20:56:41+08:00" level=error msg="close sync with err: data len 0 < expected 1" time="2020-07-29T20:56:41+08:00" level=info msg="save position (mysql-bin.000023, 179663003)" time="2020-07-29T20:56:41+08:00" level=error msg="canal start sync binlog err: data len 0 < expected 1" time="2020-07-29T20:56:41+08:00" level=error msg="start canal err data len 0 < expected 1"