• Oran Agra's avatar
    Make sure that fork child doesn't do incremental rehashing (#11692) · 789f6a95
    Oran Agra authored
    Turns out that a fork child calling getExpire while persisting keys (and
    possibly also a result of some module fork tasks) could cause dictFind
    to do incremental rehashing in the child process, which is both a waste
    of time, and also causes COW harm.
    
    (cherry picked from commit 2bec254d)
    (cherry picked from commit 3e82bdf7)
    (cherry picked from commit 4803334cf6cb1eccdd33674a72a215ed6cd10069)
    789f6a95
server.c 201 KB