Project

General

Profile

Actions

Feature #13505

open

scrub/repair: persist scrub results.

Added by Kefu Chai over 8 years ago. Updated almost 4 years ago.

Status:
In Progress
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

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

Description


- write out temp object as scrub goes. with key of object name, value will present what's wrong with the object,
 object name => whats_wrong: inconsistency_t
   inconsistency_t:
    most recent log version, prior version
    osd_id => shard_info_t
      shard_info_t
      - exists
      - omap_sha1
      - data_sha1
      - size
      - xattrs -> useronly
      missing on clone -> snapset
      - object_info_t
      - data error?
      - metadata error?
- use pagination when querying the scrub result.
- should always pass epic of the begin of the interval in the scrub APIs. if the epoch passes, EAGAIN is returned.

1. dump above metadata related to scrub/repair in the form of temp object, (they are already in the scrub map)
2. add simple pg command to dump it
3. add teuthology test accordingly


Related issues 4 (3 open1 closed)

Related to Ceph - Feature #13506: scrub/repair: add librados APIsNew10/16/2015

Actions
Related to RADOS - Feature #13507: scrub APIs to read replicaNewDavid Zafman10/16/2015

Actions
Related to Ceph - Feature #13508: scrub/repair: repair corrupted/missing objectsIn Progress01/13/2016

Actions
Related to Ceph - Feature #14860: scrub/repair: persist scrub results (do not overwrite deep scrub results with non-deep scrub)DuplicateKefu Chai10/16/2015

Actions
Actions

Also available in: Atom PDF