]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
rgw/datalog: Remove use of 'detached' in `rgw_log_backing` watch
authorAdam C. Emerson <aemerson@redhat.com>
Mon, 29 Sep 2025 19:33:23 +0000 (15:33 -0400)
committerVenky Shankar <vshankar@redhat.com>
Fri, 3 Oct 2025 12:36:15 +0000 (12:36 +0000)
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 <aemerson@redhat.com>
src/rgw/driver/rados/rgw_log_backing.cc

index 8e3442d3e8208efa4eb6d89479700b3bd4fda29a..d1e2b736960bad56c37a0258dcf6b6fcbe05e00b 100644 (file)
@@ -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<void>