Open
Description
- Package Name: azure-storage-blob (and probably other storage packages)
- Package Version: latest
- Operating System: Any
- Python Version: Any
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