Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReplaceFailedProcessGroups ¶
func ReplaceFailedProcessGroups(log logr.Logger, cluster *fdbv1beta2.FoundationDBCluster, status *fdbv1beta2.FoundationDBStatus, hasDesiredFaultTolerance bool) (bool, bool)
ReplaceFailedProcessGroups flags failed processes groups for removal. The first return value will indicate if any new Process Group was removed and the second return value will indicate if there are more Process Groups that needs a replacement, but the operator is not allowed to replace those as the limit is reached.
func ReplaceMisconfiguredProcessGroups ¶
func ReplaceMisconfiguredProcessGroups(ctx context.Context, podManager podmanager.PodLifecycleManager, client client.Client, log logr.Logger, cluster *fdbv1beta2.FoundationDBCluster, pvcMap map[fdbv1beta2.ProcessGroupID]corev1.PersistentVolumeClaim) (bool, error)
ReplaceMisconfiguredProcessGroups checks if the cluster has any misconfigured process groups that must be replaced.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.