From 7649062edb350390ce4cfac87f4ea593b84be391 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 28 Aug 2017 23:43:06 -0400 Subject: [PATCH] mon/OSDMonitor: encode without MIMIC if require_osd_release < mimic Signed-off-by: Sage Weil --- src/mon/OSDMonitor.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mon/OSDMonitor.cc b/src/mon/OSDMonitor.cc index 16412512dcb5..2cae5af4eb07 100644 --- a/src/mon/OSDMonitor.cc +++ b/src/mon/OSDMonitor.cc @@ -1101,6 +1101,10 @@ void OSDMonitor::encode_pending(MonitorDBStore::TransactionRef t) dout(10) << __func__ << " encoding without feature SERVER_JEWEL" << dendl; features &= ~CEPH_FEATURE_SERVER_JEWEL; } + if (tmp.require_osd_release < CEPH_RELEASE_MIMIC) { + dout(10) << __func__ << " encoding without feature SERVER_MIMIC" << dendl; + features &= ~(CEPH_FEATURE_SERVER_MIMIC); + } dout(10) << __func__ << " encoding full map with " << features << dendl; bufferlist fullbl; -- 2.47.3