From 29b7469fb7196f0ce7b2ae5d0a21226ab15ba306 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Wed, 25 Mar 2020 17:13:46 -0500 Subject: [PATCH] osd/PeeringState: drop mimic assert This code can still execute for a cluster that has require_osd_release >= nautilus because a PG is processing an older OSDMap. Drop this assert since the osd boot checks on require_osd_release are sufficient. Fixes: https://tracker.ceph.com/issues/44759 Signed-off-by: Sage Weil --- src/osd/PeeringState.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/osd/PeeringState.cc b/src/osd/PeeringState.cc index 685334cc09a..52c91ea43ed 100644 --- a/src/osd/PeeringState.cc +++ b/src/osd/PeeringState.cc @@ -106,7 +106,6 @@ void PGPool::update(CephContext *cct, OSDMapRef map) updated = true; } - assert(map->require_osd_release >= ceph_release_t::mimic); if (info.is_pool_snaps_mode() && updated) { snapc = pi->get_snap_context(); } -- 2.39.5