-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rabbit: Stop Khepri store and Ra systems in stop/1
[Why] The Khepri store and the coordinators are Ra servers and thus run under the Ra supervision tree. Therefore we need to explicitly stop them otherwise they will continue to run after `rabbit` was stopped. Likewise, the Ra systems are under the Ra supervision tree. We also need to stop them. [How] We need to stop Ra servers and Ra systems that we started but live under the Ra supervision tree. The order is important: 1. The `quorum_queues` Ra system because it may host Ra servers that depend on Khepri. 2. The stream coordinator because it depends on Khepri. 3. The Khepri store; it could be stopped automatically with the termination of the underlying Ra system, but Khepri needs to do some cleanup too. 4. The remaining Ra systems.
- Loading branch information
Showing
3 changed files
with
20 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
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