Project

General

Profile

Bug #57768

mgr/balancer: check for end_weekday is exclusive, stops balancing too early

Added by Lorenz Bausch 4 months ago. Updated 4 months ago.

Status:
Fix Under Review
Priority:
Normal
Assignee:
-
Category:
balancer module
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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.

History

#1 Updated by Lorenz Bausch 4 months ago

I am working on this issue

#3 Updated by Neha Ojha 4 months ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 48375

Also available in: Atom PDF