} else {
dout(10) << "activate - not complete, " << missing << dendl;
pg_log.activate_not_complete(info);
- if (is_primary()) {
- dout(10) << "activate - starting recovery" << dendl;
- osd->queue_for_recovery(this);
- if (have_unfound())
- discover_all_missing(query_map);
- }
}
log_weirdness();
}
build_might_have_unfound();
+
+ dout(10) << "activate - starting recovery" << dendl;
+ osd->queue_for_recovery(this);
+ if (have_unfound())
+ discover_all_missing(query_map);
}
// degraded?