recovery_ec_pool_below_min_size was used to verify if the osd in clsuter
are octopus and up, but since we are now quincy and up, there is no need
to verify this. so drop it for better readability and for silencing
the -Wunused-variable warning in Release build.
Signed-off-by: Kefu Chai <kchai@redhat.com>
}
if (num_want_acting < pool.info.min_size) {
- const bool recovery_ec_pool_below_min_size =
- HAVE_FEATURE(get_osdmap()->get_up_osd_features(), SERVER_OCTOPUS);
- assert(recovery_ec_pool_below_min_size);
if (!cct->_conf.get_val<bool>("osd_allow_recovery_below_min_size")) {
psdout(10) << __func__ << " failed, recovery below min size not enabled" << dendl;
return false;