Project

General

Profile

Feature #13505

Updated by Kefu Chai over 8 years ago

<pre>

- write out create a temp object as scrub goes. with key of object name, value will present what's wrong with the object, (paged)
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.

</pre>

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

Back