FluidFramework
FluidFramework copied to clipboard
Make storage network calls non-retriable for throttling errors
Issue which this PR tries to solve: When server is throttled, it returns 429 error code along with retryAfter time value. In static workload, if retry-after is respected everything should work smoothly. However the workload is rarely static, i.e. there are always new clients, or clients who are issuing multiple request evert x minutes, which worsens the throttling and could result in clients just staying in an unrecoverable state.
Solution: If 429 error is encountered for ODSP storage calls, FF will not perform retries. The throttling error will e bubbled up to the host app and we let the app decide the retry cadence.
Tests: TODO
FeatureFlags TODO