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到tendis报错 #26

Open
luger1990 opened this issue Dec 28, 2020 · 6 comments
Open

迁移redis到tendis报错 #26

luger1990 opened this issue Dec 28, 2020 · 6 comments
Labels
enhancement New feature or request

Comments

@luger1990
Copy link

详细日志如下:

9744:C 28 Dec 15:24:19.179 * create worker to send revision to tendis
9744:C 28 Dec 15:24:19.180 * Sync Conn(127.0.0.1:51002_0) connect to tendis(127.0.0.1:51002) success.
9744:C 28 Dec 15:24:19.180 * using conn:127.0.0.1:51002_0 to update slots map
9744:C 28 Dec 15:24:19.180 * ClusterConnPool Init finish
9744:C 28 Dec 15:24:19.181 * Redis-sync connect to redis(10.0.147.12:6009) success.
9744:M 28 Dec 15:24:19.181 # oO0OoO0OoO0Oo Sync is starting oO0OoO0OoO0Oo
9744:M 28 Dec 15:24:19.181 # Sync version=2.1.3, bits=64, pid=9744, just started
9744:M 28 Dec 15:24:19.181 # Server initialized
9744:M 28 Dec 15:24:19.181 * Ready to accept connections
9744:M 28 Dec 15:24:19.181 * Auth redis success, sending REPLCONF listening-port to master(xx,x,x,x:6009)
9744:M 28 Dec 15:24:19.181 * REPLCONF listening-port OK
9744:M 28 Dec 15:24:19.182 * REPLCONF capa OK
9744:M 28 Dec 15:24:19.182 * Master not support tendis_extend_protocol, -ERR Unrecognized REPLCONF option: capa-tendis
9744:M 28 Dec 15:24:19.182 * Master not support repl group id, -ERR Unrecognized REPLCONF option: capa-cluster
9744:M 28 Dec 15:24:19.183 * Sync get revision -1 from tendis
9744:M 28 Dec 15:24:19.184 * Sync get revision from redis 0, cmd: -ERR Unrecognized REPLCONF option: getrevision
9744:M 28 Dec 15:24:19.184 # Tendis's max revision is 0, redis revision is 0
9744:M 28 Dec 15:24:19.184 * Send psync ? 0
9744:M 28 Dec 15:24:19.818 * Full resync from redis, runid(fc613f9a7220b8a2b3d10891c24178b9ff84f238), offset(2116872478).
9744:M 28 Dec 15:32:00.492 * Broadcast config set session tendis_protocol_extend off to all queue.
9744:M 28 Dec 15:32:00.507 * [ERR] Parse RDB version error at 1252 in /home/peco/redis-for-cloud/src/sync/link.cc
9744:M 28 Dec 15:32:00.507 # parse rdb failed
9744:M 28 Dec 15:32:00.507 # Something error , redis-sync will disconnect redis
9744:M 28 Dec 15:32:00.507 # Forward point (Redis, Twemproxy, etc) offline, retry connect...
9744:M 28 Dec 15:32:01.508 # Check group name error: ERR Unrecognized REPLCONF option: replgroupid

主要的错误为:

[ERR] Parse RDB version error at 1252 in /home/peco/redis-for-cloud/src/sync/link.cc

tendis版本为:2.1.2-rocksdb-v5.13.4
reids版本为: 5.0.5

@luger1990
Copy link
Author

祝tendis越来越好

@jingjunLi
Copy link
Collaborator

同步到 tendis 的 组件 (redis-sync) 目前是基于 redis4.0 进行开发, 支持的 RDB_VERSION <= 8, Redis 5.0 更改了 RDB 的 格式, 升级为 9, 所以暂时不支持 redis 5.X 和 redis 6.X 的同步。

@TendisDev TendisDev added the enhancement New feature or request label Dec 30, 2020
@marswong
Copy link

同步到 tendis 的 组件 (redis-sync) 目前是基于 redis4.0 进行开发, 支持的 RDB_VERSION <= 8, Redis 5.0 更改了 RDB 的 格式, 升级为 9, 所以暂时不支持 redis 5.X 和 redis 6.X 的同步。

@jingjunLi any update?

@AlbertGithubHome
Copy link

have any new information?

@raffertyyu
Copy link
Contributor

暂时没有升级redis兼容版本的计划。

@l36t
Copy link

l36t commented May 23, 2023

同步到 tendis 的 组件 (redis-sync) 目前是基于 redis4.0 进行开发, 支持的 RDB_VERSION <= 8, Redis 5.0 更改了 RDB 的 格式, 升级为 9, 所以暂时不支持 redis 5.X 和 redis 6.X 的同步。

请问现在支持5.0.5了,如果不支持,有什么方案能把redis的数据导入到tendis吗?谢谢

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

No branches or pull requests

7 participants