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

Fixed an issue where failure to rename a file from the temp prefix to the file name would not be considered a Failed transfer #2481

Merged
merged 3 commits into from Jan 2, 2024

Conversation

gapra-msft
Copy link
Member

Customer was trying to download (from the blob service) a path with an empty directory and was seeing a successful transfer, but all affected files had the .azDownload temp prefix, which is unexpected.

Windows does not support empty directory names, and different APIs behave differently. Create/Delete will trim the extra / but Rename considers it to be an invalid path name.

This fix makes failure to rename the file be considered a Failed transfer.

@gapra-msft gapra-msft merged commit 53795a3 into dev Jan 2, 2024
17 checks passed
@gapra-msft gapra-msft deleted the gapra/emptyDirDownload branch January 2, 2024 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants