Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
bool repair = state_test(PG_STATE_REPAIR);
bool deep_scrub = state_test(PG_STATE_DEEP_SCRUB);
const char *mode = (repair ? "repair": (deep_scrub ? "deep-scrub" : "scrub"));
-
- if (!scrubber.authoritative.empty() || !scrubber.inconsistent.empty()) {
+
+ // authoriative only store objects which missing or inconsistent.
+ if (!scrubber.authoritative.empty()) {
stringstream ss;
ss << info.pgid << " " << mode << " "
<< scrubber.missing.size() << " missing, "