Project

General

Profile

Bug #2501

acting.size() < nreplicas shouldn't prevent trimming old maps

Added by Samuel Just almost 12 years ago. Updated about 9 years ago.

Status:
Won't Fix
Priority:
Normal
Assignee:
-
Category:
OSD
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Currently, we won't mark a pg clean if we have too few replicas. This is correct, but it means we won't trim maps while a pg has too few replicas. Since we will go active with too few replicas, we must in future peering rounds contact at least one member of that set anyway. If those members are fully recovered, we furthermore don't need to contact any previous osds. Thus, we can trim maps in that case.

CLEAN will mean !DEGRADED
RECOVERED will mean in the ceph code what CLEAN currently means.

History

#1 Updated by Samuel Just about 9 years ago

  • Status changed from New to Won't Fix

Also available in: Atom PDF