• antirez's avatar
    Move signalFlushedDb() into a better place. · 436d02dd
    antirez authored
    Now that the call also invalidates client side caching slots, it is
    important that after an internal flush operation we both send the
    notifications to the clients and, at the same time, are able to reclaim
    the memory of the tracking table. This may even fix a few edge cases
    related to MULTI/EXEC + WATCH during resync, not sure, but in general
    looks more correct.
    436d02dd
db.c 53.5 KB