msupply-foundation / open-msupply

Open mSupply represents our most recent advancement in the Logistics Management Information System (LMIS), expanding on more than two decades of development inherited from the well-established legacy of the original mSupply.
https://msupply.foundation/open-msupply/
Other
20 stars 12 forks source link

Indicate that server is unavailable due to migrations being in progress #4745

Open lache-melvin opened 1 week ago

lache-melvin commented 1 week ago

Is your feature request related to a problem? Please describe 👀

If a migration touches a lot of data it could take a long time to run, and the web server is down during this time. As far as the user is concerned, the service isn't responding - they could hard reset/restart everything and screw up the data rather impressively 😱

Of particular concern when running as windows service

Describe the solution you'd like 🎁

There should be some kind of indication to the user when the server is down due to migrations in progress.

Describe alternatives you've considered 💭

Additional context 💌

Moneyworks Jobcode 🧰

andreievg commented 5 days ago

Refinement, Mark suggested to have a webserver, for clients we do need discovery still going ? And for client need to make sure we are able to refresh or re-navigate (some further thought to how client uses api before the bundle is served).

Suggest we keep an eye on migrations that would take awhile and when they come up do this issue