Azure / azure-sdk-for-python

This repository is for active development of the Azure SDK for Python. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/python/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-python.
MIT License
4.53k stars 2.76k forks source link

[Cosmos] Add SDK retries to 449 errors #36612

Closed simorenoh closed 1 month ago

simorenoh commented 1 month ago

Even though other Cosmos SDKs retry on 449 error codes, we don't have any retry logic built around that in the Python Cosmos SDK - it is even pointed out in public documentation that we should do as much: https://learn.microsoft.com/en-us/azure/cosmos-db/nosql/conceptual-resilient-sdk-applications#should-my-application-retry-on-errors

tvaron3 commented 1 month ago

Python is a gateway sdk and gateway already retries 449s and 410s internally.