Project

General

Profile

Actions

Feature #10254

open

mon,osd: long-term non-clean PGs prevent osdmap trimming

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

Status:
New
Priority:
High
Assignee:
-
Category:
OSD
Target version:
-
% Done:

0%

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

Description

sometimes clusters have pgs that are degraded for long periods of time. this forces the mon to retain lots of old osdmaps, even when they don't provide any new or useful information about past pg locations that we'll need to search to find missing objects. the past_intervals metadata can also grow very large, slowing peering.

i think what we want to do is add a pg_stat_t field that controls how many past osdmaps we want, independent of last_epoch_clean. in some cases, the primary pg can move that value forward because the past intervals are full of redundant information. alternatively, we can explicitly include a set of osds and collapse the older past_intervals into that set so that the interval data (and old osdmaps) can be trimmed.

Actions #1

Updated by Sage Weil over 9 years ago

  • Tracker changed from Bug to Feature
  • Target version set to v.actually91
Actions #2

Updated by Sage Weil over 9 years ago

  • Target version changed from v.actually91 to v0.92
Actions #3

Updated by Sage Weil over 9 years ago

  • Target version changed from v0.92 to v0.93 - Last Hammer Sprint
Actions #4

Updated by Sage Weil over 9 years ago

  • Target version deleted (v0.93 - Last Hammer Sprint)
Actions

Also available in: Atom PDF