[BlobStorage] Unsafe retry on 500 OperationTimedOut error #39615
Labels
Client
This issue points to a problem in the data-plane of the library.
Service Attention
Workflow: This issue is responsible by Azure service team.
Storage
Storage Service (Queues, Blobs, Files)
Describe the bug
The Python SDK will retry a 500 status with error code OperationTimedOut.
https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/storage/azure-storage-blob/azure/storage/blob/_shared/policies.py#L87-L93
According to the REST API docs, this retry is unsafe:
https://learn.microsoft.com/en-us/rest/api/storageservices/common-rest-api-error-codes
This issue can result in data corruption:
Azure/azure-sdk-for-go#24027
The text was updated successfully, but these errors were encountered: