Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pool: file: object: clean up stop health checkers
Clean up the code used to stop health checkers for all controllers (pool, file, object). Health checkers should now be stopped when removing the finalizer for a forced deletion when the CephCluster does not exist. This prevents leaking a running health checker for a resource that is going to be imminently removed. Also tidy the health checker stopping code so that it is similar for all 3 controllers. Of note, the object controller now uses namespace and name for the object health checker, which would create a problem for users who create a CephObjectStore with the same name in different namespaces. Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
- Loading branch information
Showing
3 changed files
with
112 additions
and
67 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