-
Notifications
You must be signed in to change notification settings - Fork 156
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
in nfs mount, upload gets restart if upload data makes storage of nfs server exhaustive #7971
Comments
Screencast.from.14-11-22.04.29.57.+0545.webm |
AFAIU this is the web ui retrying the POST / PATCH request during tus uploads. On the server side, when we run into en error during a chunk upload we purge the upload. This happens in the PATCH request when it returns 507. That is also the reason why the subsequest HEAD request receives a 404 ... the upload really is gone. The desktop client retries the upload with a backoff ... I don't think the web ui should retry on a 507, should it? |
If the upload in gone on the server side, we should avoid retrying, yes. It should be pretty easy, we just need to hook onto the @butonic Are there any more status codes where retrying should not happen? |
Hm, InsufficientStorage 507, RFC 4918, 11.5 ... actually any 5xx? |
#7985 has been merged on the Edit: Now in master, hence I'm closing this issue. Feel free to re-open if this is still an issue. |
Describe the bug
In nfs mount, the uploading does not get completed if the uploaded data makes storage of nfs server exhaustive. During uploading, the data is synced to the nfs server, and the server storage is occupied; however, once the server storage is exhausted, the progress bar of uploading restarts from the beginning, and the server storage that was previously occupied is no longer occupied.
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
Actual behavior
Setup
OCIS_VERSION=ocis:2.0.0-rc.1
Additional context
Screencast.from.14-11-22.12.27.52.+0545.webm
The text was updated successfully, but these errors were encountered: