AnotherRedisDesktopManager icon indicating copy to clipboard operation
AnotherRedisDesktopManager copied to clipboard

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

Open ericnts opened this issue 1 year ago • 8 comments

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中完整的数据

ericnts avatar Dec 06 '24 01:12 ericnts

Master是多节点么

qishibo avatar Dec 06 '24 07:12 qishibo

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

qishibo avatar Dec 06 '24 07:12 qishibo

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 avatar Dec 09 '24 02:12 ericnts

这是203机器上的哨兵配置

ericnts avatar Dec 09 '24 02:12 ericnts

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

qishibo avatar Dec 12 '24 05:12 qishibo

没有变化的

ericnts avatar Dec 24 '24 06:12 ericnts

我的redis是主从模式,打开后也是keys显示不完整。 使用keys命令可以查找到,但在UI中不显示。 而且不同连接显示出来的key不完全一致,数量也不同

shenpuyu0 avatar Jan 07 '25 09:01 shenpuyu0

我的redis是主从模式,打开后也是keys显示不完整。

使用keys命令可以查找到,但在UI中不显示。

而且不同连接显示出来的key不完全一致,数量也不同

左侧key列表是分页加载的,所以只列出了一部分

qishibo avatar Jan 08 '25 04:01 qishibo