From 9e2c22d8f8cd18d8eec6e1b3c996ba95c2e6d8cf Mon Sep 17 00:00:00 2001 From: Joao Eduardo Luis Date: Tue, 26 Jan 2016 09:54:52 +0000 Subject: [PATCH] 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 --- src/mon/Monitor.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.47.3