Skip to content

迁移redis到codis报错 [PANIC] encode redis resp failed #71

Open
@topicgit

Description

@topicgit

2020/12/04 18:39:01 sync.go:235: [INFO] total=1166181692 - 1148820102 [ 98%] entry=878289
2020/12/04 18:39:02 sync.go:235: [INFO] total=1166181692 - 1156160942 [ 99%] entry=884618
2020/12/04 18:39:03 sync.go:235: [INFO] total=1166181692 - 1163835060 [ 99%] entry=891268
2020/12/04 18:39:04 sync.go:235: [INFO] total=1166181692 - 1166181692 [100%] entry=893360
2020/12/04 18:39:04 sync.go:237: [INFO] sync rdb done
2020/12/04 18:39:04 encoder.go:52: [PANIC] encode redis resp failed
[error]: write tcp 192.31.2.76:54144->10.31.7.111:6379: write: broken pipe
2 /home/travis/gopath/src/github.com/CodisLabs/redis-port/pkg/redis/encoder.go:47
github.com/CodisLabs/redis-port/pkg/redis.Encode
1 /home/travis/gopath/src/github.com/CodisLabs/redis-port/pkg/redis/encoder.go:51
github.com/CodisLabs/redis-port/pkg/redis.MustEncode
0 /home/travis/gopath/src/github.com/CodisLabs/redis-port/cmd/sync.go:278
main.(*cmdSync).SyncCommand.func2
... ...
[stack]:
1 /home/travis/gopath/src/github.com/CodisLabs/redis-port/pkg/redis/encoder.go:52
github.com/CodisLabs/redis-port/pkg/redis.MustEncode
0 /home/travis/gopath/src/github.com/CodisLabs/redis-port/cmd/sync.go:278
main.(*cmdSync).SyncCommand.func2
... ...

10.31.7.111:6379 是codis集群的codis-proxy 地址
我在迁移redis数据到codis集群的时候,redis-port工具sync rdb之后就出现如上的报错,请问这个应该如何排查,怎么解决?
我查看了网络是正常,proxy上无日志报错。
源redis版本:redis_version:3.2.8

谢谢。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions