Skip to content

docs(upgrades): warn about Postgres restarts when upgrading to 1.26#8018

Merged
gbartolini merged 2 commits intocloudnative-pg:mainfrom
l00ptr:document-restarts-on-update
Jul 17, 2025
Merged

docs(upgrades): warn about Postgres restarts when upgrading to 1.26#8018
gbartolini merged 2 commits intocloudnative-pg:mainfrom
l00ptr:document-restarts-on-update

Conversation

@l00ptr
Copy link
Copy Markdown
Contributor

@l00ptr l00ptr commented Jul 11, 2025

When upgrading from a previous version to 1.26, PostgreSQL clusters will be restarted even with in-place updates enabled, due to changes in the Startup probe definition (PR #6623).

Closes #7727

@l00ptr l00ptr requested review from a team and jsilvela as code owners July 11, 2025 07:00
@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Jul 11, 2025
@cnpg-bot cnpg-bot added backport-requested ◀️ This pull request should be backported to all supported releases release-1.22 release-1.25 release-1.26 labels Jul 11, 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

@dosubot dosubot bot added the documentation 📖 Improvements or additions to documentation label Jul 11, 2025
@l00ptr l00ptr force-pushed the document-restarts-on-update branch from 3e4c4d5 to f585df9 Compare July 11, 2025 07:29
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Jul 12, 2025
@gbartolini gbartolini changed the title docs: Info about Clusters restart on 1.26 upgrade docs(upgrades): warn about Postgres restarts when upgrading to 1.26 Jul 12, 2025
@sxd sxd force-pushed the document-restarts-on-update branch from 4d78ee7 to 10a54c2 Compare July 14, 2025 08:25
l00ptr and others added 2 commits July 17, 2025 15:51
When upgrading to 1.26 from previous version, PostgreSQL clusters are
restarted (even with in-place update enabled) due to change into the
Startup probe definition.

This issue appears to be a side effect of the improvements made to the
startup probe:
cloudnative-pg#6623

Signed-off-by: Julian Vanden Broeck <julian.vandenbroeck@dalibo.com>
Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
@gbartolini gbartolini force-pushed the document-restarts-on-update branch from 10a54c2 to 06b14b2 Compare July 17, 2025 13:51
@gbartolini gbartolini merged commit 48ddea1 into cloudnative-pg:main Jul 17, 2025
12 of 17 checks passed
mnencia pushed a commit that referenced this pull request Jul 18, 2025
…8018)

When upgrading from a previous version to 1.26, PostgreSQL clusters will
be restarted even with in-place updates enabled, due to changes in the
Startup probe definition (PR #6623).

Closes #7727

Signed-off-by: Julian Vanden Broeck <julian.vandenbroeck@dalibo.com>
Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
Co-authored-by: Julian Vanden Broeck <julian.vandenbroeck@dalibo.com>
Co-authored-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
(cherry picked from commit 48ddea1)
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 documentation 📖 Improvements or additions to documentation lgtm This PR has been approved by a maintainer release-1.26 size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Docs]: No information on triggering rollouts of db clusters with operator upgrade (with enabled in-place update)

4 participants