return false;
}
+ // TODO: Add check of osdmap for all OSDs to be able to handle new acting
+ // Determine if compatibility needed
+ bool compat_mode = !cct->_conf->osd_debug_override_acting_compat;
+
// For now we only backfill 1 at a time as before
if (!backfill.empty())
backfill.resize(1);
return false;
}
- // TODO: Add check of osdmap for all OSDs to be able to handle new acting
- // Determine if compatibility needed
- bool compat_mode = !cct->_conf->osd_debug_override_acting_compat;
-
if (compat_mode) {
- // May not be necessary, but the old mechanism only did one at a time
- if (!backfill.empty())
- backfill.resize(1);
-
want.insert(want.end(), backfill.begin(), backfill.end());
}