Actions
Feature #13506
openscrub/repair: add librados APIs
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()
.
Actions