]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/.../replicate_recovery_backend: remove unnecessary check
authorSamuel Just <sjust@redhat.com>
Wed, 22 Jan 2025 02:46:23 +0000 (18:46 -0800)
committerSamuel Just <sjust@redhat.com>
Wed, 29 Jan 2025 05:00:36 +0000 (05:00 +0000)
Already checked in handle_recovery_op.

Signed-off-by: Samuel Just <sjust@redhat.com>
src/crimson/osd/replicated_recovery_backend.cc

index 9442287ed09afffc3524800d41da3e6ef7527f9d..3ca12126d4f066c2936426a2a30b8765a810cd51 100644 (file)
@@ -1030,10 +1030,6 @@ ReplicatedRecoveryBackend::handle_push(
   Ref<MOSDPGPush> m)
 {
   LOG_PREFIX(ReplicatedRecoveryBackend::handle_push);
-  if (pg.can_discard_replica_op(*m)) {
-    DEBUGDPP("discarding {}", pg, *m);
-    return seastar::now();
-  }
   if (pg.is_primary()) {
     return handle_pull_response(m);
   }