• Oran Agra's avatar
    INFO report peak memory before eviction (#7894) · 851ec530
    Oran Agra authored
    In some cases one command added a very big bulk of memory, and this
    would be "resolved" by the eviction before the next command.
    
    Seeing an unexplained mass eviction we would wish to
    know the highest momentary usage too.
    
    Tracking it in call() and beforeSleep() adds some hooks in AOF and RDB
    loading.
    
    The fix in clientsCronTrackExpansiveClients is related to #7874
    
    (cherry picked from commit 457b7073)
    851ec530
server.c 194 KB