-
Notifications
You must be signed in to change notification settings - Fork 584
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
Add policy to bump postgres minimum version #7709
Conversation
Newest code from mattermost has been published to preview environment for Git SHA 99a4ed3 |
@agnivade - I've committed updates to convert the Markdown draft to ReStructuredText, wordsmithed the content for simplicity, and added links to these policy details to related pages. Please review the wordsmithing to ensure that the updated copy aligns with your intentions. |
Newest code from mattermost has been published to preview environment for Git SHA e10b928 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, left a non-blocking suggestion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good. Just made one comment, and +1 from me on the table that spells out the forecasted support plan.
|
||
Mattermost v10.6 is not an :ref:`Extended Support Release (ESR) <about/release-policy:extended support releases>`. Going forward, this database version support policy will only apply to ESR releases. When a Postgres version reaches its end of life (EOL), Mattermost will require a newer version starting with the next scheduled ESR release. | ||
|
||
Customers will have 9 months to plan, test, and upgrade their Postgres version before the new requirement takes effect. If you need more time, extended ESR support may be available on a case-by-case basis. This policy aims to provide clarity and transparency so you can align database upgrades with the Mattermost release schedule. Contact a `Mattermost Expert <https://mattermost.com/contact-sales/>`_. to discuss your options. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Customers will have 9 months to plan, test, and upgrade their Postgres version before the new requirement takes effect. If you need more time, extended ESR support may be available on a case-by-case basis. This policy aims to provide clarity and transparency so you can align database upgrades with the Mattermost release schedule. Contact a `Mattermost Expert <https://mattermost.com/contact-sales/>`_. to discuss your options. | |
Customers will have 9 months to plan, test, and upgrade their PostgreSQL version before the new requirement takes effect. If you need more time, extended ESR support may be available on a case-by-case basis. This policy aims to provide clarity and transparency so you can align database upgrades with the Mattermost release schedule. Contact a `Mattermost Expert <https://mattermost.com/contact-sales/>`_. to discuss your options. |
Co-authored-by: Amy Blais <[email protected]>
Co-authored-by: Amy Blais <[email protected]>
Co-authored-by: Amy Blais <[email protected]>
Newest code from mattermost has been published to preview environment for Git SHA c449e5f |
Newest code from mattermost has been published to preview environment for Git SHA 27232c0 |
Newest code from mattermost has been published to preview environment for Git SHA c8dafd5 |
Newest code from mattermost has been published to preview environment for Git SHA 5a36c06 |
Newest code from mattermost has been published to preview environment for Git SHA 70eae77 |
.. note:: | ||
|
||
- Mattermost v10.6 is not an :ref:`Extended Support Release (ESR) <about/release-policy:extended support releases>`. Going forward, this database version support policy will only apply to ESR releases. | ||
- When a PostgreSQL version reaches its end of life (EOL), Mattermost will require a newer version starting with the next scheduled ESR release. This means the following future PostgreSQL minimum version increases as follows: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@streamer45 & @sadohert - Is this what you had in mind? I'm not 100% sure I have the ESR dates/versions correct, given that March 2025 will be the v10.5 ESR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this works. Combining these 2 resources:
https://www.postgresql.org/support/versioning/
https://docs.mattermost.com/about/mattermost-server-releases.html
I was imagining a table like:
Mattermost ESR | Release Date | Minimum Postgres Version |
---|---|---|
9.11 | Aug 16,2025 | 12.x |
10.5 | Feb 16,2025 | 13.x |
10.11 | Aug 16, 2025 | 13.x |
11.5 * | Feb 16, 2026 | 14.x |
* Forecasted version and date
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sadohert - One concern for the table is that it can lead to further maintenance effort for the team. Because now it's one more item to keep track of and update every ESR. I was thinking that just the 2 lines would be sufficient for customers to get an idea and extrapolate. WDYT?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel the maintenance effort required to update a single row in the table is justified in this case as it adds valuable clarity for customers and eliminates any potential ambiguity. We could consider incorporating this as part of a playbook's checklist for the ESR release process.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm still seeing the minimum PG version for 11.5
as Postgres 14
.
Postgres 13 goes EOL on Nov. 13th/2025, according to https://endoflife.date/postgresql
So this coming November PG 13 goes EOL... I thought our policy was that the next ESR will bump... and thus our minimum goes to 14?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, my brain stopped functioning there. You are right @sadohert.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll add this step to the release playbook.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Newest code from mattermost has been published to preview environment for Git SHA 20c3ca1 |
Newest code from mattermost has been published to preview environment for Git SHA 1da5289 |
Newest code from mattermost has been published to preview environment for Git SHA 5872acf |
Newest code from mattermost has been published to preview environment for Git SHA 8559416 |
Newest code from mattermost has been published to preview environment for Git SHA 6b185a9 |
Newest code from mattermost has been published to preview environment for Git SHA ce70c53 |
Looks good to me. If we have the "Process" step documented to maintain/update this section of the docs when we publish a new ESR, I think its good to ship. @amyblais do you have that capture in a Playbook or checklist somewhere? |
+-----------------------------------------------------------+------------------+--------------------------------+ | ||
| v10.11 ESR | 2025-8-15 | 13.x | | ||
+-----------------------------------------------------------+------------------+--------------------------------+ | ||
| v11.5 ESR ``*`` | 2026-2-15 | 14.x (EOL 2025-11-13) | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PSQL v14 goes EOL November 12, 2026
Yes, this is captured in a release playbook. |
Newest code from mattermost has been published to preview environment for Git SHA 856079a |
Newest code from mattermost has been published to preview environment for Git SHA 26e2fa7 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Thanks @cwarnermm !
Newest code from mattermost has been published to preview environment for Git SHA 6d40e5f |
No description provided.