Comment 10 for bug 1642538

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

Reviewed: https://review.openstack.org/399723
Committed: https://git.openstack.org/cgit/openstack/swift/commit/?id=17f6a6989d09d3d7522efcedf747d773d11d2535
Submitter: Jenkins
Branch: stable/mitaka

commit 17f6a6989d09d3d7522efcedf747d773d11d2535
Author: Tim Burke <email address hidden>
Date: Thu Nov 17 13:02:06 2016 -0800

    Avoid infinite loop while placing parts

    Previously, we could over-assign how many parts should be in a tier.
    This would cause the local `parts` variable to go negative, which meant
    that our `while parts` loop would never terminate.

    Change-Id: Id7e7889742ca37cf1a9c0d55fba78d967e90e8d0
    Closes-Bug: 1642538
    (cherry picked from commit 2e7a7347fc58676fbaabce3d87a15866796d32e4)