RediStack icon indicating copy to clipboard operation
RediStack copied to clipboard

fatalerror: zpopmin, zpopmax when zadd data that is not (Int, Double)

Open iwecon opened this issue 2 months ago • 0 comments

When zadd adds data that is not (Int, Double), it will cause errors in zpopmin and zpopmax:

failed: caught error: "RedisClientError(baseError: RediStack.RedisClientError.(unknown context at $10c54fe70).BaseError.assertionFailure(message: "Unexpected response: \'1E4FD2C5-C32E-4E3F-91B3-45478BCF0185\'"))"
Image

Fixing this issue is simple: just change scoreIsFirst to false.

like this:

Image

iwecon avatar Dec 08 '25 19:12 iwecon