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

哨兵模式连接时展示数据不完整 #1292

Open
ericnts opened this issue Dec 6, 2024 · 6 comments
Open

哨兵模式连接时展示数据不完整 #1292

ericnts opened this issue Dec 6, 2024 · 6 comments

Comments

@ericnts
Copy link

ericnts commented Dec 6, 2024

OS

Mac

VERSION

1.7.0

ISSUE DESCRIPTION

哨兵模式连接,哨兵地址为: 192.168.6.203:5010,192.168.6.204:5010,192.168.6.205:5010

按下图进行配置,然后连接成功

image

问题:加载出来的数据是不完整,点击刷新按钮后展示出来的数据会发生变动,如下两张图所示:

image image

期望:哨兵模式连接时可以展示redis中完整的数据

@qishibo
Copy link
Owner

qishibo commented Dec 6, 2024

Master是多节点么

@qishibo
Copy link
Owner

qishibo commented Dec 6, 2024

得看一下你的哨兵架构模式

@ericnts
Copy link
Author

ericnts commented Dec 9, 2024

port 5010
daemonize yes
pidfile "/var/run/sentinel.pid"
logfile "/var/log/sentinel.log"
dir "/var/lib/sentinel"
sentinel myid 9107a6287cb0d9988a74f672f16197242b1d0e71
sentinel deny-scripts-reconfig yes
sentinel monitor airobot 192.168.6.205 5001 2

Generated by CONFIG REWRITE

protected-mode no
user default on nopass ~* +@ALL
sentinel down-after-milliseconds airobot 10000
sentinel auth-pass airobot c8974l0ZR1
sentinel config-epoch airobot 16
sentinel leader-epoch airobot 342472
sentinel known-replica airobot 192.168.6.203 5001
sentinel known-replica airobot 192.168.6.204 5001
sentinel known-sentinel airobot 192.168.6.205 5010 7f39dd311c4892903b757f6508e45dd059f382e0
sentinel known-sentinel airobot 192.168.6.204 5010 704aff3ff2a1ec877186cb700a9dc06fa5a89257
sentinel current-epoch 342472

@ericnts
Copy link
Author

ericnts commented Dec 9, 2024

这是203机器上的哨兵配置

@qishibo
Copy link
Owner

qishibo commented Dec 12, 2024

你在链接打开时的那个Redis状态页面打开自动刷新,看看pid啥的有变化么,有的话应该是不同的主节点示例

@ericnts
Copy link
Author

ericnts commented Dec 24, 2024

没有变化的

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

No branches or pull requests

2 participants