[BUG]449RetryTooAggressively #37047
Labels
cosmos:v4-item
Indicates this feature will be shipped as part of V4 release train
Cosmos
needs-triage
This is a new issue that needs to be triaged to the appropriate team.
Issue:
![image](https://private-user-images.githubusercontent.com/64233642/272690768-a8cba51f-43c0-48c1-835a-589985201451.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk2OTczMzYsIm5iZiI6MTcxOTY5NzAzNiwicGF0aCI6Ii82NDIzMzY0Mi8yNzI2OTA3NjgtYThjYmE1MWYtNDNjMC00OGMxLTgzNWEtNTg5OTg1MjAxNDUxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjI5VDIxMzcxNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTBiZmM1NWZiYjdmZTAwNDJmNTJlYjI1ZmY2YmRjYWM1NjE3NWMyZmNlYjdjOTIwMzA3YjhhZjI0NmIyYTU0ZjEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.kaZ7rjM1r384I_0q6-UrRLhq_PMAWhslm5l-My_Ut8s)
For 449 errors, SDK should retry with backoff 10ms, 20ms, 40ms, 80ms, 160ms, 320ms, 640ms, 1s, 1s, 1s etc for up to 30/60s. But after about close to 30 retires, 449 retries will become aggressive.
Possible root cause:
Overflow when calculating the currentBackoffTime
Possible Solution:
Cap the currentBackoffTime
The text was updated successfully, but these errors were encountered: