• antirez's avatar
    Cluster: fsync at every SETSLOT command puts too pressure on disks. · 6dc26795
    antirez authored
    During slots migration redis-trib can send a number of SETSLOT commands.
    Fsyncing every time is a bit too much in production as verified
    empirically.
    
    To make sure configs are fsynced on all nodes after a resharding
    redis-trib may send something like CLUSTER CONFSYNC.
    
    In this case fsyncs were not providing too much value since anyway
    processes can crash in the middle of the resharding of an hash slot, and
    redis-trib should be able to recover from this condition anyway.
    6dc26795
cluster.c 150 KB