CodisLabs/redis-port

这是什么问题

Closed this issue · 2 comments

2017/09/13 22:05:02 utils.go:365: [PANIC] parse rdb entry error
[error]: EOF
10 /home/travis/gopath/src/github.com/CodisLabs/redis-port/pkg/rdb/reader.go:74
github.com/CodisLabs/redis-port/pkg/rdb.(*rdbReader).Read
9 /home/travis/.gimme/versions/go1.7.5.linux.amd64/src/io/io.go:523
io.(*teeReader).Read
8 /home/travis/gopath/src/github.com/CodisLabs/redis-port/pkg/rdb/reader.go:72
github.com/CodisLabs/redis-port/pkg/rdb.(*rdbReader).Read
7 /home/travis/.gimme/versions/go1.7.5.linux.amd64/src/io/io.go:307
io.ReadAtLeast
6 /home/travis/.gimme/versions/go1.7.5.linux.amd64/src/io/io.go:325
io.ReadFull
5 /home/travis/gopath/src/github.com/CodisLabs/redis-port/pkg/rdb/reader.go:243
github.com/CodisLabs/redis-port/pkg/rdb.(*rdbReader).readFull
4 /home/travis/gopath/src/github.com/CodisLabs/redis-port/pkg/rdb/reader.go:249
github.com/CodisLabs/redis-port/pkg/rdb.(*rdbReader).readBytes
3 /home/travis/gopath/src/github.com/CodisLabs/redis-port/pkg/rdb/reader.go:179
github.com/CodisLabs/redis-port/pkg/rdb.(*rdbReader).readString
2 /home/travis/gopath/src/github.com/CodisLabs/redis-port/pkg/rdb/reader.go:132
github.com/CodisLabs/redis-port/pkg/rdb.(*rdbReader).readObjectValue
1 /home/travis/gopath/src/github.com/CodisLabs/redis-port/pkg/rdb/loader.go:146
github.com/CodisLabs/redis-port/pkg/rdb.(*Loader).NextBinEntry
0 /home/travis/gopath/src/github.com/CodisLabs/redis-port/cmd/utils.go:364
main.newRDBLoader.func1
... ...
[stack]:
0 /home/travis/gopath/src/github.com/CodisLabs/redis-port/cmd/utils.go:365
main.newRDBLoader.func1

3.x需要使用--psync

3.x需要使用--psync