Parcourir la source

Skip replication when there are no changed chunks

Daniel Vincze il y a 5 ans
Parent
commit
f584b507bf
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      coriolis/providers/replicator.py

+ 2 - 0
coriolis/providers/replicator.py

@@ -795,6 +795,8 @@ class Replicator(object):
                 self._event_manager.progress_update(
                     "No new chunks to replicate for disk \"%s\" (%s)" % (
                         volume['disk_id'], devName))
+                self._repl_state = curr_state
+                return self._repl_state
 
             size = self._get_size_from_chunks(chunks)