Open PhilosophyYuan opened 1 month ago
redis集群模式不支持多db,可以自己修改shake的源码,将数据同步到一个集群模式的db0 The Redis cluster mode does not support multiple databases. You can modify the source code of shake by yourself and synchronize the data to db0 in a cluster mode.
问题描述(Issue Description)
Redis Sentinel迁移至Redis Cluster
Please provide a brief description of the issue you encountered.
环境信息(Environment)
日志信息(Logs)
2024-10-12 17:51:04 INF start syncing... 2024-10-12 17:51:09 INF read_count=[0], read_ops=[0.00], write_count=[0], write_ops=[0.00], hand shaking 2024-10-12 17:51:14 INF read_count=[0], read_ops=[0.00], write_count=[0], write_ops=[0.00], hand shaking 2024-10-12 17:51:19 INF read_count=[0], read_ops=[0.00], write_count=[0], write_ops=[0.00], hand shaking 2024-10-12 17:51:24 INF read_count=[0], read_ops=[0.00], write_count=[0], write_ops=[0.00], hand shaking 2024-10-12 17:51:29 INF read_count=[0], read_ops=[0.00], write_count=[0], write_ops=[0.00], hand shaking 2024-10-12 17:51:34 INF read_count=[0], read_ops=[0.00], write_count=[0], write_ops=[0.00], hand shaking 2024-10-12 17:51:39 INF read_count=[0], read_ops=[0.00], write_count=[0], write_ops=[0.00], hand shaking 2024-10-12 17:51:44 INF read_count=[0], read_ops=[0.00], write_count=[0], write_ops=[0.00], hand shaking 2024-10-12 17:51:49 INF read_count=[0], read_ops=[0.00], write_count=[0], write_ops=[0.00], hand shaking 2024-10-12 17:51:54 INF read_count=[0], read_ops=[0.00], write_count=[0], write_ops=[0.00], waiting bgsave 2024-10-12 17:51:59 INF read_count=[0], read_ops=[0.00], write_count=[0], write_ops=[0.00], waiting bgsave 2024-10-12 17:52:04 INF read_count=[0], read_ops=[0.00], write_count=[0], write_ops=[0.00], waiting bgsave 2024-10-12 17:52:09 INF read_count=[0], read_ops=[0.00], write_count=[0], write_ops=[0.00], waiting bgsave 2024-10-12 17:52:14 INF read_count=[0], read_ops=[0.00], write_count=[0], write_ops=[0.00], waiting bgsave 2024-10-12 17:52:19 INF read_count=[0], read_ops=[0.00], write_count=[0], write_ops=[0.00], waiting bgsave 2024-10-12 17:52:24 INF read_count=[0], read_ops=[0.00], write_count=[0], write_ops=[0.00], waiting bgsave 2024-10-12 17:52:29 INF read_count=[0], read_ops=[0.00], write_count=[0], write_ops=[0.00], waiting bgsave 2024-10-12 17:52:34 INF read_count=[0], read_ops=[0.00], write_count=[0], write_ops=[0.00], waiting bgsave 2024-10-12 17:52:39 INF read_count=[0], read_ops=[0.00], write_count=[0], write_ops=[0.00], waiting bgsave 2024-10-12 17:52:44 INF read_count=[0], read_ops=[0.00], write_count=[0], write_ops=[0.00], receiving rdb 2024-10-12 17:52:49 INF read_count=[149669], read_ops=[65605.56], write_count=[149668], write_ops=[65605.56], syncing rdb, size=[24 MiB/3.3 GiB] 2024-10-12 17:52:49 ERR [writer_172.28.0.212_6379] receive reply failed. cmd=[select 1], error=[ERR SELECT is not allowed in cluster mode] RedisShake/internal/writer/redis_standalone_writer.go:118 -> (*redisStandaloneWriter).processReply() runtime/asm_amd64.s:1650 -> goexit()
其他信息(Additional Information)
配置文件
Please provide any additional information, such as configuration files, error messages, or screenshots.