csredis icon indicating copy to clipboard operation
csredis copied to clipboard

redis 7.0 以上使用stream xinfo三个方法会发生异常

Open scottshen9808 opened this issue 6 months ago • 1 comments

由于redis 7.0以上xinfo相关增加了返回的信息,导致RedisStreamCommand.cs下RedisXInfoStreamCommand、RedisXInfoGroupsCommand、RedisXInfoConsumersCommand的Parse方法报错,既然switch的default不返回内容,是否应该把reader.ReadBulkString()改成reader.Read()继续往下读取未匹配的内容更好一些?这样后续版本的redis再加返回内容也不会异常了。

scottshen9808 avatar Apr 16 '25 03:04 scottshen9808