plugin-barman-cloud/internal
Leonardo Cecchi c34b2329ea
Some checks failed
release-please / release-please (push) Failing after 4s
fix: restore WAL from replica source during designated primary promotion (#966)
During a replica cluster failover, the designated primary could
incorrectly attempt to restore WALs from its own object store instead of
the replica source, causing recovery to fail. This happened because the
previous logic relied on IsReplica() returning true, but that flag can
already be false while PostgreSQL is still in recovery and needs WALs
from the source cluster.

Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Co-authored-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
2026-06-18 18:14:33 +02:00
..
cmd fix(restore): use custom CNPG group and version for scheme registration (#847) 2026-04-13 13:20:38 +02:00
cnpgi fix: restore WAL from replica source during designated primary promotion (#966) 2026-06-18 18:14:33 +02:00
controller fix(deps): update module sigs.k8s.io/controller-runtime to v0.24.0 (#880) 2026-05-06 10:15:29 +02:00
scheme fix(scheme): register meta types for CNPG scheme group version (#943) 2026-06-08 11:08:15 +02:00