Skip to content

Check for server quota before trying to upload files #4580

Description

@tobiasKaminsky

Situation:
A user creates a file within a local folder that is synchronized by her desktop client. That file is larger than the remaining free space of that user on the server. The remaining free space is correctly shown within the client UI.

Expected behavior:
The sync client recognizes that the file is larger than the remaining free space on the server. It does neither try to upload the file nor does it retry to upload the file, until sufficient free space is available on the server.

Actual behavior:
The sync client uploads the file anyways. The upload then fails at the end because there is not enough free space available for that particular user on the server. The sync client retries to upload after several minutes, over and over again.
This leads to several Mbit/s of bandwidth constantly being used by some users and Gigabytes of (the same) data that is transmitted and then discarded.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions