Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix rs setting racing problem between dpvs-agent and healthcheck #920

Closed

Conversation

you-looks-not-tasty
Copy link
Collaborator

Healthcheck module set rs.Weight would occurred some problems at the gaps of adjacent consistent rs spec info.

The API check if rs.consistentWeight equal to dpvs active weight.
rs.consistentWeight != dpvs active weight, HTTP STATUS CODE = 270
rs.consistentWeight == dpvs active weight, HTTP STATUS CODE = 200
And responed the currently valid value of rs.Weight to client(dpvs-healthcheck).

@ywc689 ywc689 changed the title NEW API(/v2/vs/{VSID}/rs/health) for dpvs-healthcheck module. fix rs setting racing problem between dpvs-agent and healthcheck Oct 24, 2023
@ywc689
Copy link
Collaborator

ywc689 commented Feb 27, 2024

track the problem in #937 , closing this one.

@ywc689 ywc689 closed this Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants