Project

General

Profile

Actions

Feature #13506

open

scrub/repair: add librados APIs

Added by Kefu Chai over 8 years ago. Updated about 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

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

Description

two families of APIs for scrub and repair

use json dict with version number to persist the scrub results.

int get_inconsistent_pools(set<uint64_t>* pools);
int get_inconsistent_pgs(uint64_t pool, [paged pgs]);
int get_inconsistent( /// OSD op with a flag noting that it's pool op, but it can pass through even if the pg is not "clean" 
  pg_t pgid,
  epoch_t * cur_interval, // [in, out]
  [paged inconsistent_t]);

[paged foo]: unsigned num_to_return, set<foo>* foos

questions:

1. what type do we use for hobject_t? need name, location, namespace, snap
2. inconsistent_t should be json with scheme -> can probably be the result of inconsistent_t::dump().


Related issues 1 (1 open0 closed)

Related to Ceph - Feature #13505: scrub/repair: persist scrub results.In Progress

Actions
Actions

Also available in: Atom PDF