]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson: finish_decode() of MOSDRepOp on target core
authorSamuel Just <sjust@redhat.com>
Fri, 4 Apr 2025 02:12:33 +0000 (19:12 -0700)
committerSamuel Just <sjust@redhat.com>
Fri, 25 Apr 2025 03:50:22 +0000 (03:50 +0000)
Signed-off-by: Samuel Just <sjust@redhat.com>
src/crimson/osd/osd.cc
src/crimson/osd/osd_operations/replicated_request.cc

index 8dd910f27194e8914ea373ba2789b4584de67b92..773a6be5da9e133f568ac3df5ec48fdaf1c643c2 100644 (file)
@@ -1431,7 +1431,6 @@ seastar::future<> OSD::handle_rep_op(
   crimson::net::ConnectionRef conn,
   Ref<MOSDRepOp> m)
 {
-  m->finish_decode();
   return pg_shard_manager.start_pg_operation<RepRequest>(
     std::move(conn),
     std::move(m)).second;
index 5c56f75d4db28f43ffff22598296b7a3400ecfcc..7eea4ca45f5550bf50da3c4529b6b3ddb9bdf44d 100644 (file)
@@ -69,6 +69,7 @@ RepRequest::interruptible_future<> RepRequest::with_pg_interruptible(
 {
   LOG_PREFIX(RepRequest::with_pg_interruptible);
   DEBUGI("{}", *this);
+  req->finish_decode();
   co_await this->template enter_stage<interruptor>(repop_pipeline(*pg).process);
   co_await interruptor::make_interruptible(this->template with_blocking_event<
     PG_OSDMapGate::OSDMapBlocker::BlockingEvent