关于使用 TiUP 部署(推荐)中 自动修复集群存在的潜在风险的命令包括哪些

关于使用 TiUP 部署(推荐)中 自动修复集群存在的潜在风险的命令包括哪些操作,
是否下面这些可以不用做 可以用自动修复完成;
检查和配置操作系统优化参数

https://github.com/pingcap/tiup/blob/master/pkg/cluster/manager/check.go
能自动修复的配置都在fixFailedChecks函数里面,没在这个函数里的修复不了,必须手动配置

请问下老师, fixFailedChecks 函数里面 :operator.CheckNameSysService 这个功能干啥,是在修复什么?

// CheckServices checks if a service is running on the host
func CheckServices(ctx context.Context, e ctxt.Executor, host, service string, disable bool) *CheckResult {
	result := &CheckResult{
		Name: CheckNameSysService,
	}

	// check if the service exist before checking its status, ignore when non-exist
	stdout, _, err := e.Execute(
		ctx,
		fmt.Sprintf(
			"systemctl list-unit-files --type service | grep -i %s.service | wc -l", service),
		true)
	if err != nil {
		result.Err = err
		return result
	}
	if cnt, _ := strconv.Atoi(strings.Trim(string(stdout), "\
")); cnt == 0 {
		if !disable {
			result.Err = fmt.Errorf("service %s not found, should be installed and started", service)
		}
		result.Msg = fmt.Sprintf("service %s not found, ignore", service)
		return result
	}

	active, err := GetServiceStatus(ctx, e, service+".service")
	if err != nil {
		result.Err = err
	}

	switch disable {
	case false:
		if !strings.Contains(active, "running") {
			result.Err = fmt.Errorf("service %s is not running", service)
			result.Msg = fmt.Sprintf("start %s.service", service)
		}
	case true:
		if strings.Contains(active, "running") {
			result.Err = fmt.Errorf("service %s is running but should be stopped", service)
			result.Msg = fmt.Sprintf("stop %s.service", service)
		}
	}

	return result
}

https://github.com/pingcap/tiup/blob/master/pkg/cluster/operation/check.go

这个应该就是看相关的服务器上之前有没有相关tidb 组件的的service服务,比如存不存在tidb-4000.service