• Oran Agra's avatar
    fix zslGetRank bug in dead-code (#9246) · 9ca5e8c5
    Oran Agra authored
    
    
    This fixes an issue with zslGetRank which will happen only if the
    skiplist data stracture is added two entries with the same element name,
    this can't happen in redis zsets (we use dict), but in theory this is a
    bug in the underlaying skiplist code.
    
    Fixes #3081 and #4032
    Co-authored-by: default avatarminjian.cai <cmjgithub@163.com>
    9ca5e8c5
t_zset.c 139 KB