From: Adam C. Emerson Date: Mon, 29 Sep 2025 19:33:23 +0000 (-0400) Subject: rgw/datalog: Remove use of 'detached' in `rgw_log_backing` watch X-Git-Tag: testing/wip-rishabh-testing-20251003.155758-debug~8^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=a9d718331c7db708accce0e7aa78a2dc0ba6ba8a;p=ceph-ci.git rgw/datalog: Remove use of 'detached' in `rgw_log_backing` watch Replace `asio::detached` with `async::use_blocked` in the notify handler. This shouldn't be too much of a problem given that our notify handlers elsewhere use blocking `notify_ack`. At a later time I plan to do a larger refactor, but this should be a backportable fix for the memory error. https://tracker.ceph.com/issues/73313 Signed-off-by: Adam C. Emerson --- diff --git a/src/rgw/driver/rados/rgw_log_backing.cc b/src/rgw/driver/rados/rgw_log_backing.cc index 8e3442d3e82..d1e2b736960 100644 --- a/src/rgw/driver/rados/rgw_log_backing.cc +++ b/src/rgw/driver/rados/rgw_log_backing.cc @@ -664,7 +664,7 @@ void logback_generations::operator ()(sys::error_code ec, bufferlist&& bl) { co_spawn(rados.get_executor(), handle_notify(ec, notify_id, cookie, notifier_id, std::move(bl)), - asio::detached); + async::use_blocked); } asio::awaitable