We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
集群模式下无法获取地址
Please provide a brief description of the issue you encountered.
###配置文件
[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
The text was updated successfully, but these errors were encountered:
prefer_replica = true 改成 false 试试
Sorry, something went wrong.
如果设置prefer_replica为false的话就不能从从节点同步数据了
我也遇到这个问题,你是怎么解决的?
@qq649814002 发一下完整的集群信息看看。通过 cluster nodes all 命令
No branches or pull requests
问题描述(Issue Description)
集群模式下无法获取地址
Please provide a brief description of the issue you encountered.
环境信息(Environment)
###配置文件
[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)
The text was updated successfully, but these errors were encountered: