redis / rueidis

A fast Golang Redis client that supports Client Side Caching, Auto Pipelining, Generics OM, RedisJSON, RedisBloom, RediSearch, etc.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`ZPopMax` If set count 1 , panic redis message is not a map/array/set or its length is not 2

23233 opened this issue · comments


// db rueidiscompat.Cmdable
c.db.ZPopMax(context.TODO(), c.redisKey, 1).Result()

panic redis message is not a map/array/set or its length is not 2


// if do not set count is ok 
c.db.ZPopMax(context.TODO(), c.redisKey).Result()

version: 1.0.25
redis: 7.2.3