]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/balancer: if score regresses, take a few more steps
authorSage Weil <sage@redhat.com>
Thu, 5 Oct 2017 22:26:16 +0000 (17:26 -0500)
committerSage Weil <sage@redhat.com>
Thu, 2 Nov 2017 19:57:20 +0000 (14:57 -0500)
commitacbf539d326403b6249ed0e2b0ca5ffc4a52152d
treedb77dcb95dcf9145bbb82b42c10cb9637cf8964b
parentb9cc962adfd95304cbd56833bb84b827e5eed4d4
mgr/balancer: if score regresses, take a few more steps

To avoid getting stuck in a local minima, take a few additional
steps if our score drops and see if it gets better.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 70b503495a0ceb7d1aa4f5fce4403a8eff9a03b5)
src/pybind/mgr/balancer/module.py