Comment 10 for bug 1675500

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to swift (master)

Reviewed: https://review.openstack.org/454174
Committed: https://git.openstack.org/cgit/openstack/swift/commit/?id=bcd0eb70afacae1483e9e53d5a4082536770aed8
Submitter: Jenkins
Branch: master

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.

    Co-Author: Kota Tsuyuzaki <email address hidden>

    Change-Id: I344f9daaa038c6946be11e1cf8c4ef104a09e68b
    Closes-Bug: 1675500