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

[Storage] [STG 94] Error Code for Copy Blob #35376

Conversation

weirongw23-msft
Copy link
Member

Surfaced two new errors, x-ms-copy-source-status-code and x-ms-copy-source-error-code, in the HTTP Response Headers for several APIs across Blob and File Share:

  • blob.copy_blob_from_url (async)
  • block_blob.stage_blob_from_url (async)
  • block_blob.upload_blob_from_url (async)
  • page_blob.upload_pages_from_url (async)
  • append_blob.append_block_from_url (async)
  • file.upload_range_from_url (async)
  • file.start_copy_from_url (async)
  • file.start_copy_from_url (sync)

Existing retry policy already retries given InternalError (500), OperationTimedOut (408), and ServerBusy (503), regardless of whether the new x-ms-copy-source-status-code is present in the response header.

@github-actions github-actions bot added the Storage Storage Service (Queues, Blobs, Files) label Apr 26, 2024
@azure-sdk
Copy link
Collaborator

API change check

API changes are not detected in this pull request.

@weirongw23-msft weirongw23-msft merged commit 97e9a31 into Azure:feature/storage-stg94 May 8, 2024
20 checks passed
@weirongw23-msft weirongw23-msft deleted the weirongw23/errcode-copy-blob branch May 8, 2024 17:17
weirongw23-msft added a commit that referenced this pull request May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Storage Storage Service (Queues, Blobs, Files)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants