• guybe7's avatar
    WAITAOF: Try to wake blocked clients ASAP in the next beforeSleep (#12627) · 12b611b3
    guybe7 authored
    In case server.fsynced_reploff changed (e.g. flushAppendOnly set it to
    server.master_repl_offset in case there was nothing to fsync) we want to
    avoid sleeping before the next beforeSleep so we can call
    blockedBeforeSleep ASAP.
    without that, in case there's no incoming traffic, we could be waiting
    for the next cron timer event to wake us up.
    12b611b3
server.c 288 KB