replacements

package
v2.33.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2026 License: Apache-2.0 Imports: 16 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProcessGroupNeedsReplacements added in v2.9.0

func ProcessGroupNeedsReplacements(
	ctx context.Context,
	podManager podmanager.PodLifecycleManager,
	ctrlClient client.Client,
	log logr.Logger,
	cluster *fdbv1beta2.FoundationDBCluster,
	processGroup *fdbv1beta2.ProcessGroupStatus,
	replaceOnSecurityContextChange bool,
) (bool, error)

ProcessGroupNeedsReplacements checks if a process group needs to be replaced.

func ReplaceFailedProcessGroups

func ReplaceFailedProcessGroups(
	logger 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,
	ctrlClient client.Client,
	log logr.Logger,
	cluster *fdbv1beta2.FoundationDBCluster,
	replaceOnSecurityContextChange bool,
) (bool, error)

ReplaceMisconfiguredProcessGroups checks if the cluster has any misconfigured process groups that must be replaced.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL