From a9d718331c7db708accce0e7aa78a2dc0ba6ba8a Mon Sep 17 00:00:00 2001 From: "Adam C. Emerson" Date: Mon, 29 Sep 2025 15:33:23 -0400 Subject: [PATCH] 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 --- src/rgw/driver/rados/rgw_log_backing.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rgw/driver/rados/rgw_log_backing.cc b/src/rgw/driver/rados/rgw_log_backing.cc index 8e3442d3e8208..d1e2b736960ba 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 -- 2.39.5