Commit Graph

2 Commits

Author SHA1 Message Date
Armando Ruocco
2d64d34030 test: cover NewFromCluster replica-source derivation
Add config-package tests exercising the parse path the pg_basebackup replica
fix lives in: NewFromCluster must derive ReplicaSourceBarmanObjectName from the
external cluster plugin (while leaving the backup and recovery object stores
empty) and Validate must accept it. Also assert that a replica source backed by
a different plugin is ignored.

Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
2026-06-18 16:48:32 +02:00
Leonardo Cecchi
20e5afeba7 fix: inject barman sidecar in replica clusters bootstrapped with pg_basebackup
Replica clusters that use `pg_basebackup` as the bootstrap method and stream
WAL from an object store were not getting the barman sidecar injected, causing
WAL restore to fail silently. These clusters are now handled correctly.

Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
2026-06-18 16:48:32 +02:00