Documentation
¶
Overview ¶
Package archiver contains the logic of the CloudNativePG WAL archiver
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArchiveAllReadyWALs ¶
ArchiveAllReadyWALs ensures that all WAL files that are in the "ready" queue have been archived. This is used to ensure that a former primary will archive the WAL files in its queue even in case of an unclean shutdown.
Types ¶
type ErrMissingWALArchiverPlugin ¶ added in v1.27.0
type ErrMissingWALArchiverPlugin struct {
// PluginName is the name of the plugin that is missing
PluginName string
}
ErrMissingWALArchiverPlugin is raised when we try to archive a WAL file with a CNPG-i plugin whose socket does not exist.
func (ErrMissingWALArchiverPlugin) Error ¶ added in v1.27.0
func (e ErrMissingWALArchiverPlugin) Error() string
Error implements the error interface
Click to show internal directories.
Click to hide internal directories.