redis-doc
redis-doc copied to clipboard
ZDIFF and ZDIFFSTORE examples on redis.io return empty sets
trafficstars
Redis 6.9.242 on redis.io returns:
redis:6379> ZDIFF 2 zset1 zset2
(empty array)
while my local Redis 6.2.6 returns:
127.0.0.1:6379> zdiff 2 zset1 zset2
1) "three"
for the same data. Same problem for ZDIFFSTORE.
Just noticed the same behaviour
It looks like this problem has been fixed. Please continue to report issues with the docs. Thank you.