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

Bump postgres to v15 locally #3233

Merged
merged 7 commits into from
Sep 30, 2023
Merged

Bump postgres to v15 locally #3233

merged 7 commits into from
Sep 30, 2023

Conversation

murny
Copy link
Contributor

@murny murny commented Sep 19, 2023

Context

Neil mentioned production is on v13 of postgres and in the fall he wants to upgrade to v15: https://ualbertalib-di.slack.com/archives/CSEHP0L0K/p1695137129713599

So we should be at least matching production, but we can get ahead locally and see if there are any problems with v15 before the upgrade.

All test past locally, so think we should be okay for the fall upgrade

@@ -15,7 +15,7 @@ volumes:
services:
postgres:
restart: always
image: postgres:12-alpine
image: postgres:15-alpine
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pgwillia I'm wondering if UAT is still being used? and if this is okay? If's its not really being used or we able to just wipe the DB and start fresh this might be fine.

Otherwise, we need to do a proper upgrade for UAT for Postgres (where we dump the DB, start the new database with the new server and import the dump, or do a no downtime approach, etc).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UAT is available, but definitely not heavily used. Matt Kingcroft is filling in for Sean and I don't think he's been onboarded about UAT.

Is there value in practicing database migration in UAT? I don't have a strong opinion.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't there's probably much value for our team practising database migrations in UAT (unless Neil finds that useful for himself, but I assume he doesn't need to practice for this kind of stuff). If the data in UAT is ephemeral in nature, then the easy approach would to just start fresh (or do a simple dump and reload after migrating it)

Copy link
Member

@pgwillia pgwillia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@murny murny merged commit ee9fe89 into master Sep 30, 2023
2 checks passed
@murny murny deleted the bump-postgres-to-v15 branch September 30, 2023 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants