• antirez's avatar
    Improvements to PR #2425 · 832b0c7c
    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.
    832b0c7c
cluster.c 187 KB