forked from cloudnative-pg/plugin-barman-cloud
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Currently If you do a Major version upgrade of Postgres, when the upgraded pods come back up pgBackrest fails to archive the WAL files due to the stanza version mismatch with the old and new version of Postgres.
{"level":"info","ts":"2025-11-05T00:24:13.860925294Z","logger":"archive-push","msg":"2025-11-05 00:24:13.860 P00 ERROR: [044]: WAL file '/var/lib/postgresql/data/pgdata/pg_wal/00000001000000000000008D' version 16, system-id 7569025189936418850 do not match stanza version 15, system-id 7568844977113780323","pipe":"stdout","logging_pod":"postgres-infra-1"}
I am not sure if there are any hooks we can use in the CNPG-I lifecycle to add in a post upgrade container that just runs stanza-upgrade or not.
Metadata
Metadata
Assignees
Labels
No labels