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)
Reviewed: https:/ /review. openstack. org/399723 /git.openstack. org/cgit/ openstack/ swift/commit/ ?id=17f6a6989d0 9d3d7522efcedf7 47d773d11d2535
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit 17f6a6989d09d3d 7522efcedf747d7 73d11d2535
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: Id7e7889742ca37 cf1a9c0d55fba78 d967e90e8d0 fbaabce3d87a158 66796d32e4)
Closes-Bug: 1642538
(cherry picked from commit 2e7a7347fc58676