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
Reviewed: https:/ /review. openstack. org/394714 /git.openstack. org/cgit/ openstack/ swift/commit/ ?id=f4adb2f28f5 517772174aac18e 3fe9ab1d08c913
Committed: https:/
Submitter: Jenkins
Branch: master
commit f4adb2f28f55177 72174aac18e3fe9 ab1d08c913
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 b8f02c31e82f44f 4250043d837
Change-Id: I54f2081c92c2a0