Project

General

Profile

Actions

Feature #38616

closed

Improvements to auto repair

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

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

0%

Source:
Tags:
Backport:
nautilus
Reviewed:
Affected Versions:
Component(RADOS):
Pull request ID:

Description

We should allow auto repair for bluestore pools since it has built in checksums. Currently, we are limited to erasure coded pools.

In order to trigger a auto repair when regular scrub detects errors, any errors should immediately schedule a deep-scrub.

Add a new pg state flag "failed_repair" when repairs can't fix all errors. This may be tricky to implement because pg repair ends as a recovery operation.

Set failed_repair if primary repair triggered by a client read fails.

Add a count of number of objects that are repaired to PG stats and OSD stats.


Related issues 1 (0 open1 closed)

Copied to RADOS - Backport #38983: nautilus: Improvements to auto repairResolvedDavid ZafmanActions
Actions

Also available in: Atom PDF