Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
topicgit opened this issue Dec 4, 2020 · 0 comments
Open

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

topicgit opened this issue Dec 4, 2020 · 0 comments

Comments

@topicgit
Copy link

topicgit commented Dec 4, 2020

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

谢谢。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant