func (c *CheckAndHeal) FixClusterSplit(cluster *redisv1alpha1.DistributedRedisCluster, infos *redisutil.ClusterInfos, admin redisutil.IAdmin, config *config.Redis) (bool, error) {
	clusters := buildClustersLists(infos)
	if len(clusters) > 1 {
		if c.DryRun {
			return true, nil
		}
		return true, c.reassignClusters(admin, config, clusters)
	}
	c.Logger.V(3).Info("[Check] No split cluster detected")
	return false, nil
}
FixClusterSplit use to detect and fix Cluster split
package heal
import (
	"fmt"
	"time"
	"k8s.io/apimachinery/pkg/util/errors"
	redisv1alpha1 "github.com/ucloud/redis-cluster-operator/pkg/apis/redis/v1alpha1"
	"github.com/ucloud/redis-cluster-operator/pkg/config"
	"github.com/ucloud/redis-cluster-operator/pkg/redisutil"
)