]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: drop junky `#if 1` in recovery backend
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Thu, 9 May 2024 20:32:32 +0000 (20:32 +0000)
committerAlex Ainscow <aainscow@uk.ibm.com>
Wed, 17 Sep 2025 08:43:26 +0000 (09:43 +0100)
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
(cherry picked from commit d43bded4a02532c4612d53fc4418db8e4e829c3f)

src/osd/ECBackend.cc

index 9f69d87ea99e975e5f57bbdce41e2e28bbeaacec..bb641d1eefd3e19eb8c252c1084d1f69f385485a 100644 (file)
@@ -519,7 +519,6 @@ void ECCommon::RecoveryBackend::dispatch_recovery_messages(
     replies.insert(std::pair(i->first.osd, msg));
   }
 
-#if 1
   if (!replies.empty()) {
     dout(20) << __func__ << " recovery_transactions=";
     Formatter *f = Formatter::create("json");
@@ -531,7 +530,6 @@ void ECCommon::RecoveryBackend::dispatch_recovery_messages(
     *_dout << dendl;
     commit_txn_send_replies(std::move(m.t), std::move(replies));
   }
-#endif
 
   if (m.recovery_reads.empty())
     return;