Project

General

Profile

Actions

Bug #57768

closed

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

Added by Lorenz Bausch over 1 year ago. Updated about 1 year ago.

Status:
Resolved
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.

Actions #1

Updated by Lorenz Bausch over 1 year ago

I am working on this issue

Actions #3

Updated by Neha Ojha over 1 year ago

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

Updated by Radoslaw Zarzynski about 1 year ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF