• zhaozhao.zz's avatar
    evict: don't care about mem if loading · 107e93e7
    zhaozhao.zz authored
    When loading data, we call processEventsWhileBlocked
    to process events and execute commands.
    But if we are loading AOF it's dangerous, because
    processCommand would call freeMemoryIfNeeded to evict,
    and that will break data consistency, see issue #5686.
    107e93e7
evict.c 26.1 KB