Comment 4 for bug 1549110

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

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

commit f4adb2f28f5517772174aac18e3fe9ab1d08c913
Author: Clay Gerrard <email address hidden>
Date: Mon Nov 7 18:06:44 2016 -0800

    Fix ZeroDivisionError in reconstructor.stats_line

    Despite a check to prevent zero values in the denominator python
    integer division could result in ZeroDivisionError in the compute_eta
    helper function. Make sure we always have a non-zero value even if it
    is small.

    NotImplemented:

     * stats calculation is still not great, see lp bug #1488608

    Closes-Bug: #1549110
    Change-Id: I54f2081c92c2a0b8f02c31e82f44f4250043d837