if (auth_log_shard == all_info.end()) {
if (up != acting) {
- dout(10) << "choose_acting no suitable info found (incomplete backfills?),"
+ dout(10) << __func__ << " no suitable info found (incomplete backfills?),"
<< " reverting to up" << dendl;
want_acting = up;
vector<int> empty;
osd->queue_want_pg_temp(info.pgid.pgid, empty);
} else {
- dout(10) << "choose_acting failed" << dendl;
+ dout(10) << __func__ << " failed" << dendl;
assert(want_acting.empty());
}
return false;
(pool.info.is_erasure() ||
!cct->_conf->osd_allow_recovery_below_min_size)) {
want_acting.clear();
- dout(10) << "choose_acting failed, below min size" << dendl;
+ dout(10) << __func__ << " failed, below min size" << dendl;
return false;
}
get_pgbackend()->get_is_recoverable_predicate());
if (!(*recoverable_predicate)(have)) {
want_acting.clear();
- dout(10) << "choose_acting failed, not recoverable" << dendl;
+ dout(10) << __func__ << " failed, not recoverable" << dendl;
return false;
}
if (want != acting) {
- dout(10) << "choose_acting want " << want << " != acting " << acting
+ dout(10) << __func__ << " want " << want << " != acting " << acting
<< ", requesting pg_temp change" << dendl;
want_acting = want;
++i) {
assert(stray_set.find(*i) == stray_set.end());
}
- dout(10) << "choose_acting want " << want << " (== acting) backfill_targets "
+ dout(10) << __func__ << " want " << want << " (== acting) backfill_targets "
<< want_backfill << dendl;
return true;
}