-
Notifications
You must be signed in to change notification settings - Fork 363
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
Epic: Extension Upgrades #6936
Comments
also some problems with read/write replica with different compute node versions |
A viable solution is to put 3rd-party extensions in a bucket, and for neon extensions, always provide a downgrade script.
the extension build process should be decoupled from compute node builds. therefore, when we add a new extension, we should built them against all available versions of compute node.
|
@skyzh. fyi we already have part of this mechanism there is no support for different versions of the same extension, yet. |
Situation with 3rd party extensions is less dramatic than with Of course this is still a potential issue and we need to fix it properly. |
This pull request disables neon extension auto upgrade to help the next compute image upgrade smooth. ## Summary of changes We have two places to auto-upgrade neon extension: during compute spec update, and when the compute node starts. The compute spec update logic is always there, and the compute node start logic is added in #7029. In this pull request, we disable both of them, so that we can still roll back to an older version of compute before figuring out the best way of extension upgrade-downgrade. #6936 We will enable auto-upgrade in the next release following this release. There are no other extension upgrades from release 4917 and therefore after this pull request, it would be safe to revert to release 4917. Impact: * Project created after unpinning the compute image -> if we need to roll back, **they will stuck**, because the default neon extension version is 1.3. Need to manually pin the compute image version if such things happen. * Projects already stuck on staging due to not downgradeable -> I don't know their current status, maybe they are already running the latest compute image? * Other projects -> can be rolled back to release 4917. Signed-off-by: Alex Chi Z <chi@neon.tech>
Motivation
The deployment cannot be rolled back if we upgrade the neon pg extension or any other 3rd party extensions. We need a solution for that. Keeping it for the record there and update the details of this epic later.
https://neondb.slack.com/archives/C04DGM6SMTM/p1709042818937799
DoD
Implementation ideas
Tasks
Tasks
Other related tasks and Epics
The text was updated successfully, but these errors were encountered: