-
Notifications
You must be signed in to change notification settings - Fork 32
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
Available disk space check #523
Comments
A single check would be fine, but we need to figure out a good number. We basically have three potential approaches:
Obviously choice 1 is easiest, but it won't cover very real situations that choice 2 would: different apps in-place. We **can't ** (unfortunately) assume they're all just in custom apps folders that we'd be able to conveniently exclude from backups for example. So this means every environment will have very different backup space requirements. Choice 3 is interesting because it embraces that the system is dynamic and external events can change available disk space while we're running (but it's also more complicated). If we pick too big of a rough number (choice 1) it'll warn/error out even in environments with minimal apps. Related: Quota space (comes up in shared hosting) and effectively creates a full disk. Not sure we can reasonably detect this, but if we did we could easily overlay it over the handling we implement for disk space. |
Maybe a hybrid approach makes sense:
Also since the main variable between installations is going to be the app folders:
|
For robustness as well as improved user experience we should consider adding proactive disk space availability checks in several spots[1] before proceeding with material disk using steps:
datadirectory
, available)Possible checks might include one or more of:
Things to consider:
Benefits:
[1] Or just one spot, at least to start, if we can cover something like 80% of the situations without needing new checks everywhere
The text was updated successfully, but these errors were encountered: