We shall check CEPH_FEATURE_SERVER_JEWEL carried by osd_features of
MOSDBoot message, as it will be properly filled by every OSD during
OSD::_send_boot() process.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
}
if (osdmap.test_flag(CEPH_OSDMAP_REQUIRE_JEWEL) &&
- !(m->get_connection()->get_features() & CEPH_FEATURE_SERVER_JEWEL)) {
+ !(m->osd_features & CEPH_FEATURE_SERVER_JEWEL)) {
mon->clog->info() << "disallowing boot of OSD "
<< m->get_orig_source_inst()
<< " because the osdmap requires"