Project

General

Profile

Feature #1010

mon: adjust mon-osd-[near]full-ratio on the fly

Added by Sage Weil almost 9 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Monitor
Target version:
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

The nearfull and full ratios are set in the PGMap constructor, and the lists for maintained privatley by PGMap. That means you can't adjust them on the fly when your cluster fills up, which is a useful thing to do!

Either the lists need to be adjusted by PGMonitor class (where g_conf is visible) and rechecked during tick(), or tick() needs to (re)set the ratios in PGMap and PGMap can adjust, or something else along those lines. The conf update callback could be useful here, although a check in tick() would also be sufficient.

History

#1 Updated by Greg Farnum almost 9 years ago

  • translation missing: en.field_story_points set to 3
  • translation missing: en.field_position set to 639

#2 Updated by Greg Farnum almost 9 years ago

  • translation missing: en.field_story_points changed from 3 to 2
  • translation missing: en.field_position deleted (639)
  • translation missing: en.field_position set to 639

#3 Updated by Greg Farnum almost 9 years ago

  • Assignee set to Greg Farnum

#4 Updated by Greg Farnum almost 9 years ago

  • Status changed from New to Resolved

This seems to be working in master on 3d97c33bea5144cbe5ed1b40704f74fff1ec0fb1.

Also available in: Atom PDF