Project

General

Profile

Actions

Feature #1010

closed

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

Added by Sage Weil about 13 years ago. Updated about 13 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.

Actions #1

Updated by Greg Farnum about 13 years ago

  • Translation missing: en.field_story_points set to 3
  • Translation missing: en.field_position set to 639
Actions #2

Updated by Greg Farnum about 13 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
Actions #3

Updated by Greg Farnum about 13 years ago

  • Assignee set to Greg Farnum
Actions #4

Updated by Greg Farnum about 13 years ago

  • Status changed from New to Resolved

This seems to be working in master on 3d97c33bea5144cbe5ed1b40704f74fff1ec0fb1.

Actions

Also available in: Atom PDF