Skip to content
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

Draft
wants to merge 3 commits into
base: 3.21.x
Choose a base branch
from

Commits on Oct 16, 2024

  1. Adjusted hub upgrade database migration to show only actionable logs

    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)
    craigcomstock committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    918f38a View commit details
    Browse the repository at this point in the history
  2. Revert "Adjusted calling pg_upgrade during upgrade to include LD_LIBR…

    …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)
    craigcomstock committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    8a61122 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2024

  1. Fixed problem with package upgrade not trying other migration methods…

    … if pg_upgrade fails
    
    Ticket: ENT-12383
    Changelog: none
    craigcomstock committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    52edfbf View commit details
    Browse the repository at this point in the history