commit bcd0eb70afacae1483e9e53d5a4082536770aed8
Author: Pavel Kvasnička <email address hidden>
Date: Wed Mar 22 09:59:53 2017 +0100
Container drive error results double space usage on rest drives
When drive with container or account database is unmounted
replicator pushes database to handoff location. But this
handoff location finds replica with unmounted drive and
pushes database to the *next* handoff until all handoffs has
a replica - all container/account servers has replicas of
all unmounted drives.
This patch solves:
- Consumption of iterator on handoff location that results in
replication to the next and next handoff.
- StopIteration exception stopped not finished loop over
available handoffs if no more nodes exists for db replication
candidency.
Regression was introduced in 2.4.0 with rsync compression.
Reviewed: https:/ /review. openstack. org/454174 /git.openstack. org/cgit/ openstack/ swift/commit/ ?id=bcd0eb70afa cae1483e9e53d5a 4082536770aed8
Committed: https:/
Submitter: Jenkins
Branch: master
commit bcd0eb70afacae1 483e9e53d5a4082 536770aed8
Author: Pavel Kvasnička <email address hidden>
Date: Wed Mar 22 09:59:53 2017 +0100
Container drive error results double space usage on rest drives
When drive with container or account database is unmounted
replicator pushes database to handoff location. But this
handoff location finds replica with unmounted drive and
pushes database to the *next* handoff until all handoffs has
a replica - all container/account servers has replicas of
all unmounted drives.
This patch solves:
- Consumption of iterator on handoff location that results in
replication to the next and next handoff.
- StopIteration exception stopped not finished loop over
available handoffs if no more nodes exists for db replication
candidency.
Regression was introduced in 2.4.0 with rsync compression.
Co-Author: Kota Tsuyuzaki <email address hidden>
Change-Id: I344f9daaa038c6 946be11e1cf8c4e f104a09e68b
Closes-Bug: 1675500