• antirez's avatar
    Better "final read from parent" algorithm in rewriteAppendOnlyFile*(. · 2de5bab3
    antirez authored
    We now wait up to 1 second for diff data to come from the parent,
    however we use poll(2) to wait for more data, and use a counter of
    contiguous failures to get data for N times (set to 20 experimentally
    after different tests) as an early stop condition to avoid wasting 1
    second when the write traffic is too low.
    2de5bab3
aof.c 56 KB