Skip to content

[error] api.go:464 handling execute select streaming failed. err: io.CopyN failed. err unexpected EOF, copied 0, expected 615: connection was bad #20

Closed
@running-db

Description

v0.5.2同步一个大表,从mysql8.0.22到starrocks 3.2.2, 大约400多万数据,老是报以下的一个error错误。有时候几万条就报,最后这一次运行了一个多小时,同步了300多万数据也报错了。

程序报错日志:
[2024/01/31 23:56:04] [info] api.go:81 add schema table meta data: ces.ces_delivery_goods
[2024/01/31 23:56:04] [info] api.go:95 add rule map: {"RuleType":"dynamic add","full_sync":true,"source-schema":"db01","source-table":"t_delivery_goods","target-schema":"p01","target-table":"t_delivery_goods"}
[2024/01/31 23:56:04] [info] api.go:108 add rule includeTableRegex: ^db01.t_delivery_goods$
[2024/01/31 23:56:04] [info] api.go:109 add rule successfully
[2024/01/31 23:56:04] [info] api.go:114 pause output write
[2024/01/31 23:56:04] [info] api.go:320 start handle full data sync...
[2024/02/01 01:07:27] [error] api.go:464 handling execute select streaming failed. err: io.CopyN failed. err unexpected EOF, copied 0, expected 615: connection was bad
[2024/02/01 01:07:27] [info] api.go:144 resume output write

curl添加全量同步那的报错:
result: add rule full sync handle failed err: io.CopyN failed. err unexpected EOF, copied 0, expected 615: connection was bad, full sync rows: 3414723

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions