"deps/hiredis/async_private.h" did not exist on "3ddb6ffa34740b877c759e9f0bd422f33424cd3b"
Fix random probability check in ziplistRandomPairsUnique (#8467)
When (remaining == (total_size - index)), element will definitely be random to. But when rand() == RAND_MAX, the element will miss, this will trigger assert in serverAssert(ziplistRandomPairsUnique(zsetobj->ptr, count, keys, vals) == count).
Please register or sign in to comment