]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/osd/osd: handle_scrub_message on any core 55708/head
authorMatan Breizman <mbreizma@redhat.com>
Thu, 7 Mar 2024 09:49:34 +0000 (09:49 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Sun, 10 Mar 2024 12:16:54 +0000 (12:16 +0000)
After enabling multicore cluster messenger, there is no
guarantee which core will handle the request.
See: OSDSingletonState::send_to_osd()

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
src/crimson/osd/osd.cc

index 5c02b2895c2d9f3240cce2dbb24285a80f7f342b..939fbc59beb8cd6f820831550944bfba9dfcd2f2 100644 (file)
@@ -1268,7 +1268,6 @@ seastar::future<> OSD::handle_scrub_message(
   crimson::net::ConnectionRef conn,
   Ref<MOSDFastDispatchOp> m)
 {
-  ceph_assert(seastar::this_shard_id() == PRIMARY_CORE);
   return pg_shard_manager.start_pg_operation<
     crimson::osd::ScrubMessage
     >(m, conn, m->get_min_epoch(), m->get_spg()).second;