We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 089fab6 + a787c19 commit e65749fCopy full SHA for e65749f
swift/obj/replicator.py
@@ -363,7 +363,7 @@ def update(self, job):
363
do_listdir=(self.replication_count % 10) == 0,
364
reclaim_age=self.reclaim_age)
365
self.suffix_hash += hashed
366
- attempts_left = self.object_ring.replica_count
+ attempts_left = self.object_ring.replica_count - 1
367
nodes = itertools.chain(job['nodes'],
368
self.object_ring.get_more_nodes(int(job['partition'])))
369
while attempts_left > 0:
0 commit comments