diff --git a/Microsoft.Azure.Cosmos/src/ClientRetryPolicy.cs b/Microsoft.Azure.Cosmos/src/ClientRetryPolicy.cs index 11391ddcbd..457fe5e9e8 100644 --- a/Microsoft.Azure.Cosmos/src/ClientRetryPolicy.cs +++ b/Microsoft.Azure.Cosmos/src/ClientRetryPolicy.cs @@ -310,7 +310,9 @@ private async Task ShouldRetryInternalAsync( } // Received 503 due to client connect timeout or Gateway - if (statusCode == HttpStatusCode.ServiceUnavailable) + // 408 retry: limit to document resource-type? + if (statusCode == HttpStatusCode.ServiceUnavailable + || statusCode == HttpStatusCode.RequestTimeout) { return this.TryMarkEndpointUnavailableForPkRangeAndRetryOnServiceUnavailable( shouldMarkEndpointUnavailableForPkRange: true);