Project

General

Profile

Actions

Documentation #39011

closed

Document how get_recovery_priority() and get_backfill_priority() impacts recovery order

Added by David Zafman about 5 years ago. Updated almost 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
David Zafman
Category:
-
Target version:
-
% Done:

0%

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

Description

Describe the get_recovery_priority() and get_backfill_priority() as it relates to these constants:

#define OSD_RECOVERY_PRIORITY_MIN 0

/// base backfill priority for MBackfillReserve
#define OSD_BACKFILL_PRIORITY_BASE 100

/// base backfill priority for MBackfillReserve (degraded PG)
#define OSD_BACKFILL_DEGRADED_PRIORITY_BASE 140

/// base recovery priority for MBackfillReserve
#define OSD_RECOVERY_PRIORITY_BASE 180

/// base backfill priority for MBackfillReserve (inactive PG)
#define OSD_BACKFILL_INACTIVE_PRIORITY_BASE 220

/// max manually/automatically set recovery priority for MBackfillReserve
#define OSD_RECOVERY_PRIORITY_MAX 253

/// backfill priority for MBackfillReserve, when forced manually
#define OSD_BACKFILL_PRIORITY_FORCED 254

/// recovery priority for MRecoveryReserve, when forced manually
#define OSD_RECOVERY_PRIORITY_FORCED 255

/// priority for pg deletion when osd is not fullish
#define OSD_DELETE_PRIORITY_NORMAL 179

/// priority for pg deletion when osd is approaching full
#define OSD_DELETE_PRIORITY_FULLISH 219

/// priority when more full
#define OSD_DELETE_PRIORITY_FULL 255

Related issues 2 (1 open1 closed)

Related to RADOS - Feature #39339: prioritize backfill of metadata pools, automaticallyIn ProgressSage Weil

Actions
Related to RADOS - Bug #39099: Give recovery for inactive PGs a higher priorityResolvedDavid Zafman04/03/2019

Actions
Actions #1

Updated by David Zafman about 5 years ago

  • Related to Feature #39339: prioritize backfill of metadata pools, automatically added
Actions #2

Updated by David Zafman almost 5 years ago

  • Related to Bug #39099: Give recovery for inactive PGs a higher priority added
Actions #3

Updated by David Zafman almost 5 years ago

Now we need to include new recovery priority boost.

/// base recovery priority for MRecoveryReserve (inactive PG)
#define OSD_RECOVERY_INACTIVE_PRIORITY_BASE 220

Actions #4

Updated by David Zafman almost 5 years ago

  • Status changed from New to In Progress
  • Pull request ID set to 27941
Actions #5

Updated by David Zafman almost 5 years ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF