]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/balancer: fix initial weight-set value for newly created osds
authorxie xingguo <xie.xingguo@zte.com.cn>
Thu, 9 May 2019 07:02:44 +0000 (15:02 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Mon, 27 May 2019 05:35:32 +0000 (13:35 +0800)
commit64a4e7cdce71db446f47f3c36ac9df5d126ba29e
tree095ada13c5cfc0dffe619f2378bcc0e894f892c7
parent93ba1a31dfb86923f8bb3ee07496e16387845e17
mgr/balancer: fix initial weight-set value for newly created osds

This is a follow-up fix for https://github.com/ceph/ceph/pull/26955,
which should make any OSD addition start with a zeroed weight-set weight.
But without this fix, the balancer won't be able to handle it properly..

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/pybind/mgr/balancer/module.py