Skip to content
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

Implement roll-back of move operation in case the upload to a new location on the server has failed #4266

Closed
allexzander opened this issue Feb 11, 2022 · 0 comments · Fixed by #4303
Assignees

Comments

@allexzander
Copy link
Contributor

allexzander commented Feb 11, 2022

How to use GitHub

  • Please use the 👍 reaction to show that you want to have the same feature implemented.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Feature description

When we move some files/placeholders within the structure of the local sync folder, we might end up not being able to upload them to a new location on the server. The most recent case that I've encountered was with a user trying to move many files/folders from someone else's folder to the user's home folder. Since the user did not have enough space in the home folder on the server and received a lot of 507 errors, files were not uploaded to a new location on the server but stayed in a new location in the user's local folder.

We need to implement the roll-back mechanism so the file would get moved to its original location locally if the move has failed. The desktop client needs additional logic for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant