From: Igor Fedotov Date: Mon, 25 Sep 2023 15:00:37 +0000 (+0300) Subject: osd/PrimaryLogPG: get rid off redundant assertion. X-Git-Tag: v19.0.0~99^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=36870a557194dd647c03f99e033c4fc99c89dbe0;p=ceph.git osd/PrimaryLogPG: get rid off redundant assertion. It's also performed inside get_peer_info() call below. Signed-off-by: Igor Fedotov --- diff --git a/src/osd/PrimaryLogPG.cc b/src/osd/PrimaryLogPG.cc index c28184f9c9b..f615604eaef 100644 --- a/src/osd/PrimaryLogPG.cc +++ b/src/osd/PrimaryLogPG.cc @@ -550,7 +550,6 @@ bool PrimaryLogPG::should_send_op( const hobject_t &hoid) { if (peer == get_primary()) return true; - ceph_assert(recovery_state.has_peer_info(peer)); bool should_send = hoid.pool != (int64_t)info.pgid.pool() || hoid <= last_backfill_started ||