• zhaozhao.zz's avatar
    evict: don't care about mem if loading · b9cd89d1
    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.
    b9cd89d1
evict.c 26.1 KB