-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
main, view: Pair view builder drain with its start
Before these changes, we only drained the view builder when stopping it, which was paired with its *construction*. However, since the view builder depends on group0_service, which is initialized AFTER the view builder is constructed, that could lead to segmentation faults. To amend it, we pair draining the view builder with its start, while leaving the lambda destroying it paired with its construction. This way we should have a proper initialization order, avoid bugs, and reinforce our understanding of how Scylla starts up. Fixes #20772
- Loading branch information
Showing
3 changed files
with
7 additions
and
1 deletion.
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
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