• Julien Muchembled's avatar
    storage: also commit updated cell TID at each replicated chunk of 'obj' records · d4ea398d
    Julien Muchembled authored
    This is a follow-up of commit b3dd6973
    ("Optimize resumption of replication by starting from a greater TID").
    I missed the case where a storage node is restarted while it is replicating:
    it lost the TID where it was interrupted.
    
    Although we commit after each replicated chunk, to avoid transferring again
    all the data from the beginning, it could still waste time to check that
    the data are already replicated.
    d4ea398d
storage.py 11.1 KB