Signed-off-by: Loic Dachary <ldachary@redhat.com>
ss << info.pgid << " " << mode << " "
<< scrubber.missing.size() << " missing, "
- << scrubber.inconsistent.size() << " inconsistent objects\n";
+ << scrubber.inconsistent.size() << " inconsistent objects";
dout(2) << ss.str() << dendl;
osd->clog->error(ss);
if (repair) {
++shallow_errors;
else
++deep_errors;
- errorstream << pgid << " shard " << j->first
+ errorstream << __func__ << ": " << pgid << " shard " << j->first
<< ": soid " << *k << " " << ss.str() << std::endl;
}
} else {
cur_missing.insert(j->first);
++shallow_errors;
- errorstream << pgid << " shard " << j->first
+ errorstream << __func__ << ": " << pgid << " shard " << j->first
<< " missing " << *k << std::endl;
}
}