Skip to content

fix(persistentvolumeclaim): consider WAL-archiver plugins for replica recovery source#8506

Merged
mnencia merged 3 commits intomainfrom
dev/fix-storage
Sep 3, 2025
Merged

fix(persistentvolumeclaim): consider WAL-archiver plugins for replica recovery source#8506
mnencia merged 3 commits intomainfrom
dev/fix-storage

Conversation

@armru
Copy link
Member

@armru armru commented Sep 1, 2025

Treat WAL archiving as active if either Backup.BarmanObjectStore is set or a WAL-archiver plugin is enabled.

Closes #8507

@armru armru requested a review from a team as a code owner September 1, 2025 14:34
@cnpg-bot cnpg-bot added backport-requested ◀️ This pull request should be backported to all supported releases release-1.25 release-1.26 release-1.27 labels Sep 1, 2025
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Sep 1, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Sep 1, 2025

❗ By default, the pull request is configured to backport to all release branches.

  • To stop backporting this pr, remove the label: backport-requested ◀️ or add the label 'do not backport'
  • To stop backporting this pr to a certain release branch, remove the specific branch label: release-x.y

@dosubot dosubot bot added bug 🐛 Something isn't working ok to merge 👌 This PR can be merged labels Sep 1, 2025
@mnencia
Copy link
Member

mnencia commented Sep 2, 2025

/test

@github-actions
Copy link
Contributor

github-actions bot commented Sep 2, 2025

@mnencia, here's the link to the E2E on CNPG workflow run: https://github.com/cloudnative-pg/cloudnative-pg/actions/runs/17407424405

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Sep 2, 2025
@NiccoloFei
Copy link
Collaborator

/test feature_type=snapshot

@github-actions
Copy link
Contributor

github-actions bot commented Sep 3, 2025

@NiccoloFei, here's the link to the E2E on CNPG workflow run: https://github.com/cloudnative-pg/cloudnative-pg/actions/runs/17439011859

armru and others added 3 commits September 3, 2025 18:23
… recovery source

Treat WAL archiving as active if either Backup.BarmanObjectStore is set or a WAL-archiver plugin is enabled

Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
@mnencia mnencia merged commit 6168604 into main Sep 3, 2025
34 checks passed
@mnencia mnencia deleted the dev/fix-storage branch September 3, 2025 17:22
cnpg-bot pushed a commit that referenced this pull request Sep 3, 2025
… recovery source (#8506)

Treat WAL archiving as active if either Backup.BarmanObjectStore is set
or a WAL-archiver plugin is enabled.

Closes #8507

Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
Co-authored-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Co-authored-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
(cherry picked from commit 6168604)
cnpg-bot pushed a commit that referenced this pull request Sep 3, 2025
… recovery source (#8506)

Treat WAL archiving as active if either Backup.BarmanObjectStore is set
or a WAL-archiver plugin is enabled.

Closes #8507

Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
Co-authored-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Co-authored-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
(cherry picked from commit 6168604)
cnpg-bot pushed a commit that referenced this pull request Sep 3, 2025
… recovery source (#8506)

Treat WAL archiving as active if either Backup.BarmanObjectStore is set
or a WAL-archiver plugin is enabled.

Closes #8507

Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
Co-authored-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Co-authored-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
(cherry picked from commit 6168604)
THE-BRAHMA pushed a commit to THE-BRAHMA/cloudnative-pg that referenced this pull request Oct 6, 2025
… recovery source (cloudnative-pg#8506)

Treat WAL archiving as active if either Backup.BarmanObjectStore is set
or a WAL-archiver plugin is enabled.

Closes cloudnative-pg#8507

Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
Co-authored-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Co-authored-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
Signed-off-by: theBrahma <office.utpal.brahma@gmail.com>
THE-BRAHMA pushed a commit to THE-BRAHMA/cloudnative-pg that referenced this pull request Oct 30, 2025
… recovery source (cloudnative-pg#8506)

Treat WAL archiving as active if either Backup.BarmanObjectStore is set
or a WAL-archiver plugin is enabled.

Closes cloudnative-pg#8507

Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
Co-authored-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Co-authored-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
Signed-off-by: theBrahma <office.utpal.brahma@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-requested ◀️ This pull request should be backported to all supported releases bug 🐛 Something isn't working lgtm This PR has been approved by a maintainer ok to merge 👌 This PR can be merged release-1.25 release-1.26 release-1.27 size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: StorageSource not used for Replica Join when WAL archiving is enabled via Plugin

4 participants