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

Upgrade Postgresql version to 16 #734

Open
8 tasks
davidgamez opened this issue Sep 9, 2024 · 1 comment
Open
8 tasks

Upgrade Postgresql version to 16 #734

davidgamez opened this issue Sep 9, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@davidgamez
Copy link
Member

davidgamez commented Sep 9, 2024

Describe the problem

Our Postgresql environments currently run on version 12, which has end-of-life in November 2024. Therefore, we should upgrade to the newest version, 16.

More info: https://www.postgresql.org/support/versioning

Proposed solution

We should do incremental upgrades from 12 to 16 iteratively on each environment(Qa and Prod).

Tasks:

  • Upgrade DB to version 13 on Qa and test API+ Python functions
  • Deploy to PROD version 13 upgrade
  • Upgrade DB to version 14 on Qa and test API+ Python functions
  • Deploy to PROD version 14 upgrade
  • Upgrade DB to version 15 on Qa and test API+ Python functions
  • Deploy to PROD version 15 upgrade
  • Upgrade DB to version 16 Qa and test API+ Python functions
  • Deploy to PROD version 16 upgrade

Alternatives you've considered

We can skip some versions. For example, jump from 12 to 14 and 14 to 16. The downside is we might hit blockers, especially geometric manipulation libraries. The safer approach is one by one.

Additional context

Each upgrade can be a separate issue as we need a prod release. The "urgent" upgrade is 13, as 12 is due in November this year as per Postgresql documentation, https://www.postgresql.org/support/versioning/

@davidgamez davidgamez added the enhancement New feature or request label Sep 9, 2024
@davidgamez
Copy link
Member Author

davidgamez commented Oct 7, 2024

Tasks:

  • Update DB version to version 13 in DEV
  • Update DB version to version 13 in QA
  • Update DB version to version 13 in PROD
  • Test(Integration) API and DB after each update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant