k.rennerandClaude Opus 4.7 ab0aa6eddf
ci/woodpecker/manual/rebuild-k8s Pipeline failed
fix(cnpg): Skip empty-WAL-archive pre-check on bootstrap.recovery
The barman-cloud plugin v0.12.0 pre-check fails with "Expected empty
archive" when bootstrap.recovery points at a pre-populated archive —
it invokes barman-cloud-check-wal-archive without a --timeline hint,
so any existing WAL segments trip it.

This contradicts the symmetric-restore design: producer==consumer,
seed + live backups share one path, and recovery must succeed against
whatever is already there (latest backup, else migration seed).

The cnpg.io/skipEmptyWalArchiveCheck=enabled annotation on the Cluster
metadata disables the pre-check while leaving the actual restore path
intact. Applied to ak-pg and pprl-pg. Velero follows the same pattern
naturally (restore picks latest backup; tarball seed fills the gap
when the Velero bucket is empty).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-21 09:41:53 +02:00
S
Description
No description provided
38 MiB
master
Latest
2026-01-31 15:05:31 +00:00
Languages
Go 35.3%
Shell 24.5%
Python 22.5%
Jinja 5.1%
HCL 4.8%
Other 7.7%