From: Matan Breizman Date: Thu, 7 Mar 2024 09:49:34 +0000 (+0000) Subject: crimson/osd/osd: handle_scrub_message on any core X-Git-Tag: v20.0.0~2432^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=cbad3e4517e91476b19a8766f98240c81df40a36;p=ceph.git crimson/osd/osd: handle_scrub_message on any core 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 --- diff --git a/src/crimson/osd/osd.cc b/src/crimson/osd/osd.cc index 5c02b2895c2d9..939fbc59beb8c 100644 --- a/src/crimson/osd/osd.cc +++ b/src/crimson/osd/osd.cc @@ -1268,7 +1268,6 @@ seastar::future<> OSD::handle_scrub_message( crimson::net::ConnectionRef conn, Ref 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;