Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion pkg/ddc/goosefs/health_check.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,10 @@ func (e *GooseFSEngine) checkMasterHealthy() (err error) {

}

// checkWorkersHealthy check workers number changed
// checkWorkersHealthy checks the health status of workers in a GooseFSEngine runtime.
// It retrieves the worker statefulset and evaluates whether the workers are ready based on their status.
// If the workers are not ready, it updates the runtime's status with appropriate conditions and logs relevant information.
// If the runtime was created by a controller before v0.7.0, it logs a warning indicating that worker health checking is not supported for such runtimes.
func (e *GooseFSEngine) checkWorkersHealthy() (err error) {
// Check the status of workers
workers, err := ctrl.GetWorkersAsStatefulset(e.Client,
Expand Down
Loading