]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
osd/PrimaryLogPG: get rid off redundant assertion.
authorIgor Fedotov <igor.fedotov@croit.io>
Mon, 25 Sep 2023 15:00:37 +0000 (18:00 +0300)
committerIgor Fedotov <igor.fedotov@croit.io>
Mon, 25 Sep 2023 15:05:50 +0000 (18:05 +0300)
It's also performed inside get_peer_info() call below.

Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
src/osd/PrimaryLogPG.cc

index c28184f9c9b690e05aaa46d2246d8d790fec97d0..f615604eaeff18e7e02c80be53ee71bc74d8aab9 100644 (file)
@@ -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 ||