]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/balancer: create compat weight-set earlier 28251/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Mon, 27 May 2019 06:46:48 +0000 (14:46 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Mon, 27 May 2019 06:46:48 +0000 (14:46 +0800)
commitf73bd451ea2fe2ea692710c6874e18234feb992d
treeea69a992e6535a7391ebba4a4697c20b2e4bb15b
parent64a4e7cdce71db446f47f3c36ac9df5d126ba29e
mgr/balancer: create compat weight-set earlier

So if we do:

ceph balancer mode crush-compat
ceph balancer on
ceph config set global osd_crush_update_weight_set false

and then add some new osd in, those osds will truly start
with a zeroed weight-set weight.

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