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

Fix for File Share Limit Reached Error #2892

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

wonwuakpa-msft
Copy link
Collaborator

Description

Added nil and closure checks to ensure there's no panic from closing channels. Added a description for the ShareSizeLimitReached error to guide users on how to handle the error

  • Feature / Bug Fix: (Brief description of the feature or issue being addressed)
    User reported this AzCopy behavior when uploading data to a file share that exceeds the quota (i.e uploading 4GB to a 1GB file share). When the quota is hit, the ongoing job is stopped and the already uploaded files are not deleted. AzCopy team concluded this is not a bug. There is a high chance of unnecessary failed API calls after the ShareSizeLimitReached error is hit. Thus, the current behavior of stopping the job is valid.

  • Related Links:

  • Issues

  • Expected AzCopy Behavior When Exceeding Quotas

Type of Change

  • Bug fix
  • New feature
  • Documentation update required
  • Code quality improvement
  • Other (describe):

How Has This Been Tested?

AzCopy randomly uploads files to the file share until the quota is hit. Wrote a script to validate that these uploaded files are non-empty. If empty files are uploaded, they are correctly deleted in the cleanup handler in the codebase.

Thank you for your contribution to AzCopy!

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 this pull request may close these issues.

1 participant