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

键值统计 显示异常 #1284

Open
DamonDing opened this issue Nov 13, 2024 · 10 comments
Open

键值统计 显示异常 #1284

DamonDing opened this issue Nov 13, 2024 · 10 comments

Comments

@DamonDing
Copy link

OS

Windows

VERSION

image

ISSUE DESCRIPTION

每次刷新都会多出来一个重复的DB

image
image

@qishibo
Copy link
Owner

qishibo commented Nov 13, 2024

好家伙你这db数量是真多啊,
你这是集群么,去掉敏感信息截个配置,我试试能复现不

@DamonDing
Copy link
Author

image

@qishibo
Copy link
Owner

qishibo commented Nov 14, 2024

不不是你新建连接时输入的配置参数

@DamonDing
Copy link
Author

image

@DamonDing
Copy link
Author

这个应该是每次刷新的时候,需要把前面的数据清理掉吧。

@qishibo
Copy link
Owner

qishibo commented Nov 14, 2024

正常肯定会清,不过你这个库这么多还真没试过

@DamonDing
Copy link
Author

image
image
我用小库做了一下实验,还是一样的

@qishibo
Copy link
Owner

qishibo commented Nov 14, 2024

正常就到db15的,貌似你这个还是集群

@DamonDing
Copy link
Author

那倒是,我都到200+了。用的aliyun的

@0width
Copy link

0width commented Jan 30, 2025

我使用的版本是1.7.1,我也遇到了这个问题,原因是阿里云的集群模式使用了代理,其实阿里云的代理模式可以看成非集群模式,但是执行info命令的时候返回cluster_enabled=1,所以判断成了集群模式。我修改了components/Status.vue的237行,添加了一个proxy_run_id的判断,因为之后代理模式才回返回proxy_run_id。代码如下:
isCluster() {
return this.connectionStatus['cluster_enabled'] == '1' && !this.connectionStatus['proxy_run_id'];
},

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

3 participants