Skip to content

healthCheckImprovement[transitTimeout]#31544

Merged
xinlian12 merged 11 commits intoAzure:mainfrom
xinlian12:healthCheckImprovement
Nov 3, 2022
Merged

healthCheckImprovement[transitTimeout]#31544
xinlian12 merged 11 commits intoAzure:mainfrom
xinlian12:healthCheckImprovement

Conversation

@xinlian12
Copy link
Copy Markdown
Member

@xinlian12 xinlian12 commented Oct 18, 2022

Issue:
One of the main mechanism within SDK to detect a broken connection is during the health check flow. The current implementation will not be able to detect a broken connection under relative high workload.

Soltuion
when a connection is in a broken status - usually it will cause the network request fail with transit timeout (client side generated timeout). In this PR, we are adding a tracking for continuous transitTimeout counter, and integrate it into the healthy check flow to help detect the broken connection faster.

@ghost ghost added the Cosmos label Oct 18, 2022
@azure-sdk
Copy link
Copy Markdown
Collaborator

API change check

API changes are not detected in this pull request.

Copy link
Copy Markdown
Member

@kushagraThapar kushagraThapar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @xinlian12 , great work!

@xinlian12 xinlian12 requested a review from jeet1995 as a code owner November 3, 2022 05:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants