Skip to content

rgw/s3vectors: fiv background shutdown issues - #68623

Closed
yuvalif wants to merge 1 commit into
ceph:wip-s3vectorfrom
yuvalif:wip-background-shutdown
Closed

yuvalif wants to merge 1 commit into
ceph:wip-s3vectorfrom
yuvalif:wip-background-shutdown

Conversation

@yuvalif

@yuvalif yuvalif commented Apr 26, 2026

Copy link
Copy Markdown
Contributor
  • wait for longer than sleep idle time for graceful shutdown
  • empty queue on shutdown
  • avoud double join on non-graceful shutdow

* wait for longer than sleep idle time for graceful shutdown
* empty queue on shutdown
* avoud double join on non-graceful shutdown

Signed-off-by: Yuval Lifshitz <[email protected]>
~Manager() = default;
~Manager() {
messages.consume_all([](auto message) {
std::unique_ptr<message_t> message_guard(message);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

io_context.stop();
}
worker.join();
future.wait();

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@yuvalif

yuvalif commented Apr 27, 2026

Copy link
Copy Markdown
Contributor Author

cherry picked intoi: #66066

@yuvalif yuvalif closed this Apr 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants