replication

package
v1.27.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package replication contains the code relative to the synchronous replication feature

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetExpectedSyncReplicasNumber

func GetExpectedSyncReplicasNumber(ctx context.Context, cluster *apiv1.Cluster) int

GetExpectedSyncReplicasNumber computes the actual number of required synchronous replicas

func GetSynchronousStandbyNames

func GetSynchronousStandbyNames(ctx context.Context, cluster *apiv1.Cluster) postgres.SynchronousStandbyNamesConfig

GetSynchronousStandbyNames gets the value to be applied to synchronous_standby_names

Types

This section is empty.

Jump to

Keyboard shortcuts

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