mirror of
https://github.com/redis/redis.git
synced 2026-01-10 23:07:58 -05:00
VRANDMEMBER had a bug when exactly two elements where present in the vector set: we selected a fixed number of random paths to take, and this will lead always to the same element. This PR should be kindly back-ported to Redis 8.x.