fix(volumesnapshots,cnpg-i): ensure CheckEmptyWalArchive runs during WAL restore#9306
Merged
gbartolini merged 1 commit intomainfrom Nov 27, 2025
Merged
fix(volumesnapshots,cnpg-i): ensure CheckEmptyWalArchive runs during WAL restore#9306gbartolini merged 1 commit intomainfrom
CheckEmptyWalArchive runs during WAL restore#9306gbartolini merged 1 commit intomainfrom
Conversation
Contributor
|
❗ By default, the pull request is configured to backport to all release branches.
|
Member
Author
|
/test |
Contributor
|
@mnencia, here's the link to the E2E on CNPG workflow run: https://github.com/cloudnative-pg/cloudnative-pg/actions/runs/19629998520 |
d743538 to
4444fbf
Compare
Member
Author
|
/test |
Contributor
|
@mnencia, here's the link to the E2E on CNPG workflow run: https://github.com/cloudnative-pg/cloudnative-pg/actions/runs/19633306693 |
Member
Author
|
/test |
Contributor
|
@mnencia, here's the link to the E2E on CNPG workflow run: https://github.com/cloudnative-pg/cloudnative-pg/actions/runs/19640286425 |
jbattiato
approved these changes
Nov 25, 2025
gabriele-wolfox
approved these changes
Nov 26, 2025
gbartolini
approved these changes
Nov 26, 2025
CheckEmptyWalArchive runs with CNPG-I plugin restore
CheckEmptyWalArchive runs with CNPG-I plugin restoreCheckEmptyWalArchive runs during WAL restore
Closes #9305 Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
cnpg-bot
pushed a commit
that referenced
this pull request
Nov 27, 2025
…g WAL restore (#9306) The `CheckEmptyWalArchive` safeguard was not executed when restoring from a volume snapshot using a CNPG-I backup/WAL plugin (e.g. `plugin-barman-cloud`). This was due to the operator skipping creation of the `CheckEmptyWalArchiveFile` marker and relying instead on an early direct call to the in-tree `barman-cloud-check-wal-archive` command—an approach incompatible with external plugins. This patch ensures that the `CheckEmptyWalArchive` mechanism is triggered reliably for both in-tree and plugin-based WAL archive implementations during snapshot restore. Closes #9305 Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com> (cherry picked from commit 01e673d)
cnpg-bot
pushed a commit
that referenced
this pull request
Nov 27, 2025
…g WAL restore (#9306) The `CheckEmptyWalArchive` safeguard was not executed when restoring from a volume snapshot using a CNPG-I backup/WAL plugin (e.g. `plugin-barman-cloud`). This was due to the operator skipping creation of the `CheckEmptyWalArchiveFile` marker and relying instead on an early direct call to the in-tree `barman-cloud-check-wal-archive` command—an approach incompatible with external plugins. This patch ensures that the `CheckEmptyWalArchive` mechanism is triggered reliably for both in-tree and plugin-based WAL archive implementations during snapshot restore. Closes #9305 Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com> (cherry picked from commit 01e673d)
cnpg-bot
pushed a commit
that referenced
this pull request
Nov 27, 2025
…g WAL restore (#9306) The `CheckEmptyWalArchive` safeguard was not executed when restoring from a volume snapshot using a CNPG-I backup/WAL plugin (e.g. `plugin-barman-cloud`). This was due to the operator skipping creation of the `CheckEmptyWalArchiveFile` marker and relying instead on an early direct call to the in-tree `barman-cloud-check-wal-archive` command—an approach incompatible with external plugins. This patch ensures that the `CheckEmptyWalArchive` mechanism is triggered reliably for both in-tree and plugin-based WAL archive implementations during snapshot restore. Closes #9305 Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com> (cherry picked from commit 01e673d)
mnencia
added a commit
that referenced
this pull request
Jan 20, 2026
…g WAL restore (#9306) The `CheckEmptyWalArchive` safeguard was not executed when restoring from a volume snapshot using a CNPG-I backup/WAL plugin (e.g. `plugin-barman-cloud`). This was due to the operator skipping creation of the `CheckEmptyWalArchiveFile` marker and relying instead on an early direct call to the in-tree `barman-cloud-check-wal-archive` command—an approach incompatible with external plugins. This patch ensures that the `CheckEmptyWalArchive` mechanism is triggered reliably for both in-tree and plugin-based WAL archive implementations during snapshot restore. Closes #9305 Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com> (cherry picked from commit 01e673d)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
CheckEmptyWalArchivesafeguard was not executed when restoring from a volume snapshot using a CNPG-I backup/WAL plugin (e.g.plugin-barman-cloud).This was due to the operator skipping creation of the
CheckEmptyWalArchiveFilemarker and relying instead on an early direct call to the in-treebarman-cloud-check-wal-archivecommand—an approach incompatible with external plugins.This patch ensures that the
CheckEmptyWalArchivemechanism is triggered reliably for both in-tree and plugin-based WAL archive implementations during snapshot restore.Closes #9305