From: Joao Eduardo Luis Date: Tue, 26 Jan 2016 09:54:52 +0000 (+0000) Subject: mon: Monitor: show probe's required_features instead X-Git-Tag: v11.1.0~400^2~18 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9e2c22d8f8cd18d8eec6e1b3c996ba95c2e6d8cf;p=ceph.git mon: Monitor: show probe's required_features instead For some reason, we were logging to derr with our internally established 'required_features', instead of the value from the MMonProbe message stating what are the actual required_features. Signed-off-by: Joao Eduardo Luis --- diff --git a/src/mon/Monitor.cc b/src/mon/Monitor.cc index 65c462283df9..843b262272dc 100644 --- a/src/mon/Monitor.cc +++ b/src/mon/Monitor.cc @@ -1603,8 +1603,8 @@ void Monitor::handle_probe(MonOpRequestRef op) case MMonProbe::OP_MISSING_FEATURES: derr << __func__ << " missing features, have " << CEPH_FEATURES_ALL - << ", required " << required_features - << ", missing " << (required_features & ~CEPH_FEATURES_ALL) + << ", required " << m->required_features + << ", missing " << (m->required_features & ~CEPH_FEATURES_ALL) << dendl; break; }