Actions
Bug #57768
closedmgr/balancer: check for end_weekday is exclusive, stops balancing too early
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
balancer module
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Description
According to the docs end_weekday
restricts automatic balancing to this day of the week or earlier, where 0 is Sunday, 1 is Monday, and so on.
For example ceph config set mgr mgr/balancer/begin_weekday 1
and ceph config set mgr mgr/balancer/end_weekday 3
should result in balancing being started on Monday and running up to including Wednesday.
Currently, the balancer checks for begin_weekday <= weekday < end_weekday which results in no balancing on Wednesday.
Actions