Skip to content

Commit a9d7183

Browse files
committed
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 <[email protected]>
1 parent 629e419 commit a9d7183

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rgw/driver/rados/rgw_log_backing.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ void logback_generations::operator ()(sys::error_code ec,
664664
bufferlist&& bl) {
665665
co_spawn(rados.get_executor(),
666666
handle_notify(ec, notify_id, cookie, notifier_id, std::move(bl)),
667-
asio::detached);
667+
async::use_blocked);
668668
}
669669

670670
asio::awaitable<void>

0 commit comments

Comments
 (0)