redis-port
redis-port copied to clipboard
https://github.com/CodisLabs/redis-port/blob/a2e08c1edc05bdb7a2ad0ae29369f405f77eeaa1/cmd/libs.go#L41 u.User.String() ```golang // String returns the encoded userinfo information in the standard form // of "username[:password]". func (u *Userinfo) String() string { if u == nil { return ""...
2018/11/14 01:21:05 [INFO] + 2018/11/14 01:21:06 [INFO] rdb file = 2472295690 2018/11/14 01:21:06 [PANIC] restore command error [error]: ERR DUMP payload version or checksum are wrong [stack]: 1 /home/admin/work/src/github.com/CodisLabs/redis-port/cmd/utils.go:220 main.restoreRdbEntry...
源节点是Master-slave架构的,版本是redis_version:3.0.5。 目标节点是cluster集群,版本是redis_version:3.2.7。 命令如下: ./redis-sync -m password@ip:port1-t ip2:port2 --db=0 --tmpfile-size=5gb rdb sync完,等10+秒,就会抛panic了。。。 2018/10/25 15:43:23 libs.go:462: [PANIC] fetch redigo reply failed [error]: MOVED 3693 10.19.xx.xx:7461 [stack]: 2 /data/go/src/github.com/CodisLabs/redis-port/cmd/libs.go:462 main.redigoGetResponse 1 /data/go/src/github.com/CodisLabs/redis-port/cmd/libs.go:588 main.doRestoreDBEntry.func3...
当我使用./redis-port sync --parallel=1 --from=192.168.81.170:12121 --password=XXX --target=192.168.81.220:19000 --auth=XXXX 命令将数据从Twemproxy 迁移到codis报如下错误: 2018/08/01 12:30:17 main.go:189: [INFO] set ncpu = 4, parallel = 4 2018/08/01 12:30:17 sync.go:56: [INFO] sync from '192.168.81.170:12121' to '192.168.81.220:19000' 2018/08/01...
2018/07/19 14:34:08 sync.go:123: [INFO] + 2018/07/19 14:34:09 sync.go:73: [INFO] rdb file = 4920652048 2018/07/19 14:34:09 utils.go:361: [PANIC] parse rdb header error [error]: verify version, invalid RDB version number 8 1...
请问下这个工具支持实时迁移redis集群版数据到主从版吗,redis版本2.8,谢谢!
2017/11/01 17:27:40 main.go:189: [INFO] set ncpu = 4, parallel = 16 2017/11/01 17:27:40 sync.go:56: [INFO] sync from '10.10.10.52:6679' to '10.10.10.55:8899' 2017/11/01 17:27:40 utils.go:139: [PANIC] invalid psync response, fullsync [error]: bad...
 I looked at the source code and went back to check the header of the RDP file  Is this code incompatible?