Skip to content

feat: check for empty wal archive on pg_basebackup bootstrap - #8895

Merged
mnencia merged 2 commits into
mainfrom
dev/check-empty-wal-replica-cluster
Oct 22, 2025
Merged

mnencia merged 2 commits into
mainfrom
dev/check-empty-wal-replica-cluster

Conversation

@mnencia

@mnencia mnencia commented Oct 21, 2025 •

Copy link
Copy Markdown
Member

Enable the empty WAL archive check also when a Cluster is initialized using the pg_basebackup bootstrap method.

Closes #8897

@cnpg-bot cnpg-bot added backport-requested ◀️ This pull request should be backported to all supported releases release-1.25 labels Oct 21, 2025
@github-actions

Copy link
Copy Markdown
Contributor

❗ 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

@mnencia

mnencia commented Oct 21, 2025

Copy link
Copy Markdown
Member Author

/test

@github-actions

Copy link
Copy Markdown
Contributor

@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label Oct 21, 2025
@mnencia
mnencia marked this pull request as ready for review October 21, 2025 12:56
@mnencia
mnencia requested a review from a team October 21, 2025 12:56
@dosubot dosubot Bot added size:S This PR changes 10-29 lines, ignoring generated files. enhancement 🪄 New feature or request labels Oct 21, 2025
@mnencia
mnencia force-pushed the dev/check-empty-wal-replica-cluster branch from 8f369c0 to 54018b9 Compare October 21, 2025 13:07
@gbartolini
gbartolini force-pushed the dev/check-empty-wal-replica-cluster branch from 653cabf to d717e82 Compare October 21, 2025 19:55
@gbartolini

Copy link
Copy Markdown
Contributor

/test

@github-actions

Copy link
Copy Markdown
Contributor

@mnencia

mnencia commented Oct 22, 2025

Copy link
Copy Markdown
Member Author

/ok-to-merge Tests are failingdue to a bug in minio setup, the tests regarding the feature are green

@cnpg-bot cnpg-bot added the ok to merge 👌 This PR can be merged label Oct 22, 2025
@mnencia
mnencia merged commit 9137570 into main Oct 22, 2025
@mnencia
mnencia deleted the dev/check-empty-wal-replica-cluster branch October 22, 2025 09:25
cnpg-bot pushed a commit that referenced this pull request Oct 22, 2025
…ootstrap (#8895)

Enable the empty WAL archive check also when a Cluster is initialized
using the` pg_basebackup` bootstrap method, like we already do
with all the other bootstrap methods.

Closes #8897

Signed-off-by: Marco Nenciarini <[email protected]>
Signed-off-by: Armando Ruocco <[email protected]>
Co-authored-by: Armando Ruocco <[email protected]>
(cherry picked from commit 9137570)
cnpg-bot pushed a commit that referenced this pull request Oct 22, 2025
…ootstrap (#8895)

Enable the empty WAL archive check also when a Cluster is initialized
using the` pg_basebackup` bootstrap method, like we already do
with all the other bootstrap methods.

Closes #8897

Signed-off-by: Marco Nenciarini <[email protected]>
Signed-off-by: Armando Ruocco <[email protected]>
Co-authored-by: Armando Ruocco <[email protected]>
(cherry picked from commit 9137570)
cnpg-bot pushed a commit that referenced this pull request Oct 22, 2025
…ootstrap (#8895)

Enable the empty WAL archive check also when a Cluster is initialized
using the` pg_basebackup` bootstrap method, like we already do
with all the other bootstrap methods.

Closes #8897

Signed-off-by: Marco Nenciarini <[email protected]>
Signed-off-by: Armando Ruocco <[email protected]>
Co-authored-by: Armando Ruocco <[email protected]>
(cherry picked from commit 9137570)
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 enhancement 🪄 New feature or request lgtm This PR has been approved by a maintainer ok to merge 👌 This PR can be merged size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feat]: check empty WAL destination when bootstrap method is pg_basebackup

4 participants