• antirez's avatar
    Improvements to PR #2425 · 53659404
    antirez authored
    1. Remove useless "cs" initialization.
    2. Add a "select" var to capture a condition checked multiple times.
    3. Avoid duplication of the same if (!copy) conditional.
    4. Don't increment dirty if copy is given (no deletion is performed),
       otherwise we propagate MIGRATE when not needed.
    53659404
cluster.c 187 KB