-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Feature request: Database migrations without downtime #1236
Comments
Without more context and without technical details how to implement this, and given the very real and complex nature of SQL migrations, this is not something that can be considered by this project. Feel free to provide more details and concrete proposals despite closure of this as a nofix. |
The expand and contract pattern is a way to handle with breaking changes to persistent data without downtime. Take a look to this document. But basically it would require ORY Hydra to follow these steps:
Do you think this is something that you wouldn't consider? |
That's an interesting concept! However, it looks like it would be very challenging to set up a proper test plan and make sure that everything runs smoothly with every release. I fear that we don't have the resources / incentives to support and maintain this. Sorry! |
As we've talked, pinging @aeneasr & @lopezator for bringing this to the top of your inboxes. |
I am closing this as we will probably not be able to support this. Zero-downtime migrations heavily depend on the database backend (type, engine, and version) as every DB has subtle difference that can range from full on table, to range, to row locks depending on the migration. Working around these is just too challenging. For most systems, a 99.99% uptime should be possible (~5 minutes per month) when planned carefully. For higher SLAs it might make sense to consume this from our cloud service instead. Although we do not have 99.99% availability SLOs as of yet. |
Is your feature request related to a problem? Please describe.
We would like make ORY Hydra upgrades without incurring in service downtimes.
Describe the solution you'd like
An expand-and-contract pattern to be implemented
Describe alternatives you've considered
Deal with downtimes.
The text was updated successfully, but these errors were encountered: