-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adjusted hub upgrade database migration to show only actionable logs (3.21) #1513
base: 3.21.x
Are you sure you want to change the base?
Conversation
craigcomstock
commented
Oct 16, 2024
- Adjusted hub upgrade database migration to show only actionable logs
- Revert "Adjusted calling pg_upgrade during upgrade to include LD_LIBRARY_PATH of previous installation"
If pg_upgrade fails it is OK because we have several other options which we try during hub package upgrade. To see any errors, run the upgrade with DEBUG=1 defined as an environment variable. Ticket: ENT-12383 Changelog: title (cherry picked from commit c3bbbc3)
…ARY_PATH of previous installation" In the case of 3.21.5 (postgresql 15.6) to 3.25.0a (master, postgresql 17.0) pg_upgrade seems to work fine with the removal of LD_LIBRARY_PATH pointed at the backup. In other cases we will simply ignore pg_upgrade failures and allow the subsequent migration methods to proceed. This reverts commit e39924c. (cherry picked from commit 2c74496)
@cf-bottom jenkins |
Alright, I triggered a build: Jenkins: https://ci.cfengine.com/job/pr-pipeline/11298/ Packages: http://buildcache.cfengine.com/packages/testing-pr/jenkins-pr-pipeline-11298/ |
@cf-bottom jenkins please. |
Alright, I triggered a build: Jenkins: https://ci.cfengine.com/job/pr-pipeline/11308/ Packages: http://buildcache.cfengine.com/packages/testing-pr/jenkins-pr-pipeline-11308/ |
cancelled the job changed my mind. will shellcheck and test before spending ci time. |
… if pg_upgrade fails Ticket: ENT-12383 Changelog: none
d18ec86
to
52edfbf
Compare
@cf-bottom jenkins |
Sure, I triggered a build: Jenkins: https://ci.cfengine.com/job/pr-pipeline/11310/ Packages: http://buildcache.cfengine.com/packages/testing-pr/jenkins-pr-pipeline-11310/ |
only flakes. Looks good! |
Will wait on master change: #1515 |