forked from scylladb/seastar
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core: reactor: Fix use-after-free during reactor shutdown
Currenlty only reactor at shard 0 waits for other reactors to finish processing before exiting. It may happen that non-main reactor exits while there are still some tasks attempted to be submitted to it. This result in use-after-free on remote->_sleeping in smp_message_queue::lf_queue::maybe_wakeup() Fix by ensuring that reactor threads exit when all reactors stopped processing their tasks.
- Loading branch information
Showing
2 changed files
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters