]> git.apps.os.sepia.ceph.com Git - ceph.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>
Wed, 29 May 2019 05:29:48 +0000 (13:29 +0800)
commitce18684aa53c2fce08962255bae9289b6075e2a0
tree092f05f2b543602418f3d34c9e30db28f74fc0ed
parente59336ba55003736ec289bccc25494ec251b350b
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>
(cherry picked from commit 64a4e7cdce71db446f47f3c36ac9df5d126ba29e)
src/pybind/mgr/balancer/module.py