集群模式下无法获取地址
问题描述(Issue Description)
集群模式下无法获取地址
Please provide a brief description of the issue you encountered.
环境信息(Environment)
- RedisShake 版本(RedisShake Version):4.1.1
- Redis 源端版本(Redis Source Version):5.0.5
- Redis 目的端版本(Redis Destination Version):5.0.5
- Redis 部署方式(standalone/cluster/sentinel):cluster
###配置文件
[sync_reader] cluster = true address = "192.168.10.102:7701" password ="123" tls = false sync_rdb = true sync_aof = true prefer_replica = true try_diskless = true
[redis_writer] cluster = true address = "192.168.11.102:7702" password ="123" tls = false
[advanced] dir = "/data/cmcc/redis-shake/account-shake" ncpu = 1 pprof_port = 19410 status_port = 19420 #log config log_file = "shake.log" log_level = "info" log_interval = 5
rdb_restore_command_behavior = "rewrite" pipeline_count_limit = 1024 target_redis_client_max_querybuf_len = 1024_000_000 target_redis_proto_max_bulk_len = 512_000_000
日志信息(Logs)
prefer_replica = true 改成 false 试试
prefer_replica = true 改成 false 试试
如果设置prefer_replica为false的话就不能从从节点同步数据了
我也遇到这个问题,你是怎么解决的?
@qq649814002 发一下完整的集群信息看看。通过 cluster nodes all 命令