]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/balancer: restrict automatic balancing to specific weekdays
authorxie xingguo <xie.xingguo@zte.com.cn>
Fri, 15 Feb 2019 05:35:53 +0000 (13:35 +0800)
committerKonstantin Shalygin <k0ste@k0ste.ru>
Sat, 23 Feb 2019 05:50:00 +0000 (12:50 +0700)
commit4afc5373512dd937beb231db8084f03bf99b3d50
tree42a0b49281e1b9176e35923f4fcb4ef37dd1ea5c
parenta2f258ef72d738c8185926b5d5776f71a92de088
mgr/balancer: restrict automatic balancing to specific weekdays

We have implemented similar semantics for the scrub behaviour.
Let's try to keep pace with that.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
(cherry picked from commit 0412a51ac6dfecc1a72b654196ecb1a599dcc94d)

Conflicts:
- path: src/pybind/mgr/balancer/module.py
  comment: 'get_module_option()' -> 'get_config()' for mgr config-key
    'begin_weekday' and 'begin_weekday' should be int, but
    luminous/mimic config-key always return string.
src/pybind/mgr/balancer/module.py