This isn't used. Snapcolls are ancient.
Signed-off-by: Sage Weil <sage@redhat.com>
scrubber.missing,
scrubber.inconsistent,
authoritative,
- scrubber.inconsistent_snapcolls,
scrubber.shallow_errors,
scrubber.deep_errors,
info.pgid, acting,
ss);
dout(2) << ss.str() << dendl;
- if (!authoritative.empty() || !scrubber.inconsistent_snapcolls.empty()) {
+ if (!authoritative.empty()) {
osd->clog->error(ss);
}
if (!scrubber.authoritative.empty() || !scrubber.inconsistent.empty()) {
stringstream ss;
- for (map<hobject_t, set<pg_shard_t> >::iterator obj =
- scrubber.inconsistent_snapcolls.begin();
- obj != scrubber.inconsistent_snapcolls.end();
- ++obj) {
- for (set<pg_shard_t>::iterator j = obj->second.begin();
- j != obj->second.end();
- ++j) {
- ++scrubber.shallow_errors;
- ss << info.pgid << " " << mode << " " << " object " << obj->first
- << " has inconsistent snapcolls on " << *j << std::endl;
- }
- }
-
ss << info.pgid << " " << mode << " "
<< scrubber.missing.size() << " missing, "
<< scrubber.inconsistent.size() << " inconsistent objects";
// Maps from objects with errors to missing/inconsistent peers
map<hobject_t, set<pg_shard_t> > missing;
map<hobject_t, set<pg_shard_t> > inconsistent;
- map<hobject_t, set<pg_shard_t> > inconsistent_snapcolls;
// Map from object with errors to good peer
map<hobject_t, pair<ScrubMap::object, pg_shard_t> > authoritative;
map<hobject_t, set<pg_shard_t> > &missing,
map<hobject_t, set<pg_shard_t> > &inconsistent,
map<hobject_t, pg_shard_t> &authoritative,
- map<hobject_t, set<pg_shard_t> > &invalid_snapcolls,
int &shallow_errors, int &deep_errors,
const spg_t& pgid,
const vector<int> &acting,
map<hobject_t, set<pg_shard_t> > &missing,
map<hobject_t, set<pg_shard_t> > &inconsistent,
map<hobject_t, pg_shard_t> &authoritative,
- map<hobject_t, set<pg_shard_t> > &invalid_snapcolls,
int &shallow_errors, int &deep_errors,
const spg_t& pgid,
const vector<int> &acting,