Merge "do not dump_recon_cache on limited obj replic"
This commit is contained in:
commit
67d1017d8a
@ -645,9 +645,10 @@ class ObjectReplicator(Daemon):
|
||||
override_partitions=override_partitions)
|
||||
total = (time.time() - start) / 60
|
||||
self.logger.info(
|
||||
_("Object replication complete. (%.02f minutes)"), total)
|
||||
dump_recon_cache({'object_replication_time': total},
|
||||
self.rcache, self.logger)
|
||||
_("Object replication complete (once). (%.02f minutes)"), total)
|
||||
if not (override_partitions or override_devices):
|
||||
dump_recon_cache({'object_replication_time': total},
|
||||
self.rcache, self.logger)
|
||||
|
||||
def run_forever(self, *args, **kwargs):
|
||||
self.logger.info(_("Starting object replicator in daemon mode."))
|
||||
|
Loading…
x
Reference in New Issue
Block a user