mirror of
https://github.com/redis/redis.git
synced 2026-04-21 03:01:35 -04: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.