• guybe7's avatar
    isSafeToPerformEvictions: Remove redundant condition (#10610) · 8ad0cfa5
    guybe7 authored
    If was first added in #9890 to solve the problem of
    CONFIG SET maxmemory causing eviction inside MULTI/EXEC,
    but that problem is already fixed (CONFIG SET doesn't evict
    directly, it just schedules a later eviction)
    
    Keep that condition may hide bugs (i.e. performEvictions
    should always expect to have an empty server.also_propagate)
    8ad0cfa5
evict.c 31.9 KB