tiny-rdm icon indicating copy to clipboard operation
tiny-rdm copied to clipboard

[BUG] hash类型数据在数据量较多的情况下,删除单个hashKey失败

Open Ronass opened this issue 8 months ago • 3 comments

Tiny RDM Version v1.2.3

OS Version Windows 11 家庭中文版 23H2

Redis Version 6.2.14

Describe the bug hash类型的数据,<string,long> 类型数据,数据量到达2000条,删除其中一条数据,提示删除成功,但是刷新后,数据还在,使用Another Redis Desktop Manager 删除后,删除成功

Steps to Reproduce:

Image

Image

Image

Ronass avatar Apr 23 '25 03:04 Ronass

是不是因为字段有不可读的字符导致的,方便的话把这个字段名的二进制格式发上来我测试下

tiny-craft avatar Apr 24 '25 10:04 tiny-craft

是不是因为字段有不可读的字符导致的,方便的话把这个字段名的二进制格式发上来我测试下

@tiny-craft

Image

key kTKpts6w6�

这个只是序列化方式不同,你可以测试一下

RMap<String, Long> migrationReceiveCacheTest = redissonClient.getMap("MIGRATION_RECEIVE_CACHE_TEST_2");
for (int i = 0; i < 100; i++) {
    migrationReceiveCacheTest.put(RandomUtil.randomString(10), RandomUtil.randomLong(1000));
}

RandomUtil.randomString 这个是随机字符串 RandomUtil.randomLong 这个试是随机数值

client用的redisson

我试了Another Redis Desktop Manager 这个软件,是可以删除的,以下是Another Redis显示截图,count 99

Image

Image key \x03kTKpts6w6\xf1 [Hex] value \x09\xb8\x02 [Hex]

我还发现一个问题,就是删除了再刷新那个key会出现 key找不到报错,但是用全局刷新,key又会出来

Image

Ronass avatar Apr 27 '25 02:04 Ronass

我在有50000条的hash里面试了下是可以删除的,刷新之后也没有再出现,问下你这个Redis服务器是普通部署,还是集群,或者是其他更复杂的部署方式

tiny-craft avatar Apr 27 '25 06:04 tiny-craft