From 36870a557194dd647c03f99e033c4fc99c89dbe0 Mon Sep 17 00:00:00 2001 From: Igor Fedotov Date: Mon, 25 Sep 2023 18:00:37 +0300 Subject: [PATCH] osd/PrimaryLogPG: get rid off redundant assertion. It's also performed inside get_peer_info() call below. Signed-off-by: Igor Fedotov --- src/osd/PrimaryLogPG.cc | 1 - 1 file changed, 1 deletion(-) 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 || -- 2.39.5