ballerina-lang icon indicating copy to clipboard operation
ballerina-lang copied to clipboard

[Improvement]: Add retries to Central Client

Open xlight05 opened this issue 10 months ago • 0 comments

Description

We are getting intermittent bal build issues from time to time due to random central call failures.

Seems like we have retryOnConnectionFailure enabled from okHTTP side. We need to evaluate on what occasions it retries and how many times it does that.

Most common failures we've observed as of now were 500, 502, 503 and connection resets for now. We need to see if retryOnConnectionFailure retries for such such cases, if not handle those separately.

If retryOnConnectionFailure doesn't work for such cases,I feel like having even a single retry should reduce these intermittent failures by a great margin.

Describe your problem(s)

No response

Describe your solution(s)

No response

Related area

-> Compilation

Related issue(s) (optional)

No response

Suggested label(s) (optional)

No response

Suggested assignee(s) (optional)

No response

xlight05 avatar Mar 29 '24 04:03 xlight05