Skip to content

[BUG] Redis 库的数量发生改变后软件会报错 #532

@z-hanzhe

Description

@z-hanzhe

Tiny RDM Version
截止到目前的最新版 v1.2.5

Image

OS Version
Windows 11 25H2 OS 内部版本 26200.6725

Image

Redis Version
Docker 官方提供的 redis:6.2.0 镜像

Describe the bug

Redis 库的数量发生改变后软件会报错

我们小型公司,在开发服务器上搭建了 32 个库的 Redis 服务供所有项目使用,每个项目使用一个 database,后面改成了每个项目使用独立的 redis 服务,我在之前的 redis 配置文件中把原本的 32 个库改回了默认的 16 个库,但是 TinyRDM 最后一次打开数据库编号是 31(最后一个库),Redis 库减少后连接报错无法打开,提示 DB 索引下标越界

can not connect to redis server: ERR DB index is out of range

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions