Otherwise we fill up the error log with "foo is ok!" messages.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
errorstream << "extra attr " << i->first;
}
}
- if (ok)
- errorstream << " is ok!";
return ok;
}
auth = j;
} else {
// Compare
- errorstream << info.pgid << " osd" << acting[j->first]
- << ": soid " << *k;
+ stringstream ss;
if (!_compare_scrub_objects(auth->second->objects[*k],
j->second->objects[*k],
- errorstream)) {
+ ss)) {
cur_inconsistent.insert(j->first);
+ errorstream << info.pgid << " osd" << acting[j->first]
+ << ": soid " << *k << ss.str() << std::endl;
}
- errorstream << std::endl;
}
} else {
cur_missing.insert(j->first);