Feature #9951
open
- Description updated (diff)
- Target version deleted (
0.90)
Hi sage:
I'm interested in this feature(From that i'll know the process of scurb). Is there somebody already did this? If no, i want to do this.
I think we can firstly implement this feature for ceph cli.
The command like: ceph object scrub/deep-scrub/repair poolname objectname namespace.
We can handle this in PGMonitor::handle_command
a:copy code from "ceph osd map poolname objectname" to calc the pgid
b:copy code from "ceph pg scrub/deep-scrub/repair"
In osd side:
a:change struct MOSDScrub which add object info
b:add objects into pgs
c:start pg scrub and pick objects. I think this is the main and relative difficult.
BTY: for osd/pg scrub, we can use rados_mon_command to handle. For object scrub, using the same way or add a new api?
Hope none already did and my thought correct. Thanks!
Also available in: Atom
PDF