fix(backup,status): add majorVersion to backups#8464
Merged
gbartolini merged 9 commits intomainfrom Sep 12, 2025
Merged
Conversation
f9ec5f6 to
3fcfae0
Compare
a2f6cea to
1935fef
Compare
1935fef to
041be39
Compare
MajorVersion
75470ef to
26c394e
Compare
eb7beb7 to
aff973b
Compare
26c394e to
1633d59
Compare
448cd7d to
d453a8d
Compare
d453a8d to
e69f020
Compare
Member
|
/test |
Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
3677c35 to
5e75152
Compare
Contributor
|
/test |
Contributor
|
@gbartolini, here's the link to the E2E on CNPG workflow run: https://github.com/cloudnative-pg/cloudnative-pg/actions/runs/17669541636 |
gbartolini
approved these changes
Sep 12, 2025
mnencia
added a commit
that referenced
this pull request
Sep 12, 2025
Expose the PostgreSQL major version in the backup status and add a new label `cnpg.io/majorVersion` to volume snapshots. This change also fixes a bug during major upgrades, preventing backups from being taken. Partially closes #7705 --------- Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com> Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com> Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com> Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com> Co-authored-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com> Co-authored-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com> Co-authored-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com> (cherry picked from commit de99f90)
mnencia
added a commit
that referenced
this pull request
Sep 12, 2025
Expose the PostgreSQL major version in the backup status and add a new label `cnpg.io/majorVersion` to volume snapshots. This change also fixes a bug during major upgrades, preventing backups from being taken. Partially closes #7705 --------- Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com> Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com> Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com> Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com> Co-authored-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com> Co-authored-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com> Co-authored-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com> (cherry picked from commit de99f90)
mnencia
added a commit
that referenced
this pull request
Sep 12, 2025
Expose the PostgreSQL major version in the backup status and add a new label `cnpg.io/majorVersion` to volume snapshots. This change also fixes a bug during major upgrades, preventing backups from being taken. Partially closes #7705 --------- Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com> Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com> Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com> Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com> Co-authored-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com> Co-authored-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com> Co-authored-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com> (cherry picked from commit de99f90)
gbartolini
pushed a commit
that referenced
this pull request
Sep 12, 2025
… upgrades (#8475) Avoids a bug where volume snapshot backups from a previous minor version could be incorrectly reused when scaling up, leading to issues during major PostgreSQL upgrades. Depends On #8464 Closes #7705 Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com> Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com> Co-authored-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
cnpg-bot
pushed a commit
that referenced
this pull request
Sep 12, 2025
… upgrades (#8475) Avoids a bug where volume snapshot backups from a previous minor version could be incorrectly reused when scaling up, leading to issues during major PostgreSQL upgrades. Depends On #8464 Closes #7705 Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com> Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com> Co-authored-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com> (cherry picked from commit 62c6bd0)
mnencia
added a commit
that referenced
this pull request
Sep 12, 2025
… upgrades (#8475) Avoids a bug where volume snapshot backups from a previous minor version could be incorrectly reused when scaling up, leading to issues during major PostgreSQL upgrades. Depends On #8464 Closes #7705 Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com> Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com> Co-authored-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com> (cherry picked from commit 62c6bd0)
rossigee
pushed a commit
to rossigee/cloudnative-pg
that referenced
this pull request
Oct 2, 2025
Expose the PostgreSQL major version in the backup status and add a new label `cnpg.io/majorVersion` to volume snapshots. This change also fixes a bug during major upgrades, preventing backups from being taken. Partially closes cloudnative-pg#7705 --------- Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com> Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com> Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com> Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com> Co-authored-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com> Co-authored-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com> Co-authored-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
rossigee
pushed a commit
to rossigee/cloudnative-pg
that referenced
this pull request
Oct 2, 2025
… upgrades (cloudnative-pg#8475) Avoids a bug where volume snapshot backups from a previous minor version could be incorrectly reused when scaling up, leading to issues during major PostgreSQL upgrades. Depends On cloudnative-pg#8464 Closes cloudnative-pg#7705 Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com> Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com> Co-authored-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
THE-BRAHMA
pushed a commit
to THE-BRAHMA/cloudnative-pg
that referenced
this pull request
Oct 30, 2025
Expose the PostgreSQL major version in the backup status and add a new label `cnpg.io/majorVersion` to volume snapshots. This change also fixes a bug during major upgrades, preventing backups from being taken. Partially closes cloudnative-pg#7705 --------- Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com> Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com> Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com> Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com> Co-authored-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com> Co-authored-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com> Co-authored-by: Gabriele Bartolini <gabriele.bartolini@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
… upgrades (cloudnative-pg#8475) Avoids a bug where volume snapshot backups from a previous minor version could be incorrectly reused when scaling up, leading to issues during major PostgreSQL upgrades. Depends On cloudnative-pg#8464 Closes cloudnative-pg#7705 Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com> Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com> Co-authored-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com> Signed-off-by: theBrahma <office.utpal.brahma@gmail.com>
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.
Expose the PostgreSQL major version in the backup status and add a new label
cnpg.io/majorVersionto volume snapshots.This change also fixes a bug during major upgrades, preventing backups from being taken.
Partially closes #7705