• A
    Issue #4027: unify comment and modify return value in freeMemoryIfNeeded(). · 3669f96e
    antirez 提交于
    It looks safer to return C_OK from freeMemoryIfNeeded() when clients are
    paused because returning C_ERR may prevent success of writes. It is
    possible that there is no difference in practice since clients cannot
    execute writes while clients are paused, but it looks more correct this
    way, at least conceptually.
    
    Related to PR #4028.
    3669f96e
expire.c 19.8 KB