• sundb's avatar
    Re-enable hash downsize rehashing during fork (partial #12276) · f613873d
    sundb authored
    
    
    This was introduced by the recent change in #11692 which prevented a
    down-sizing rehashing while there is a fork.
    
    ## Solution
    1. Fix the rehashing code, so that the same as it allows rehashing for up-sizing
      during fork when the ratio is extreme, it will allow it for down-sizing as well.
    Co-authored-by: default avatarOran Agra <oran@redislabs.com>
    
    This is a partial cherry pick of:
    (cherry picked from commit b00a2351)
    (cherry picked from commit d4c37320382edb342292a3e30250d46896a12016)
    f613873d
util.tcl 24.4 KB