Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
mimic: mgr/balancer: restrict automatic balancing to specific weekdays #26499
We have implemented similar semantics for the scrub behaviour.
We have implemented similar semantics for the scrub behaviour. Let's try to keep pace with that. Signed-off-by: xie xingguo <firstname.lastname@example.org> (cherry picked from commit 0412a51) 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.
The __desc__ field of **begin[end]_weekend** suggests sunday is the prevailing start of the week, whereas the Python implementation says no. See https://stackoverflow.com/questions/21045569/why-is-pythons-weekday-different-from-tm-wday-in-c Signed-off-by: xie xingguo <email@example.com> (cherry picked from commit b9da092)
This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days.