-
Notifications
You must be signed in to change notification settings - Fork 730
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 backend update racing problem with dpvs-agent and healthcheck. #937
Commits on Jan 23, 2024
-
API: /${SVCID}/rs/health return the specified service detail when fet…
…ched wrong vs-version from client
Configuration menu - View commit details
-
Copy full SHA for 9648beb - Browse repository at this point
Copy the full SHA 9648bebView commit details -
Configuration menu - View commit details
-
Copy full SHA for f9ab755 - Browse repository at this point
Copy the full SHA f9ab755View commit details -
Configuration menu - View commit details
-
Copy full SHA for e278598 - Browse repository at this point
Copy the full SHA e278598View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3bf1c3f - Browse repository at this point
Copy the full SHA 3bf1c3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c2c4d8d - Browse repository at this point
Copy the full SHA c2c4d8dView commit details -
tools/healthcheck: fix rs weight update problem when rs's weight chan…
…ged adminstratively When healthcheck program updating the rs's weight, it should consider: * rs's weight may change adminstratively * rs availabilty may change due to the server is closed or crashed Healthcheck stores the original weight when it sends down notification in order to restore the rs's weight when it gets healthy later. The problem is original weight is syncd from dpvs periodically and not always up-to-date, which may result in incorrect weight update in healthcheck up notification. Signed-off-by: ywc689 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dfa9c96 - Browse repository at this point
Copy the full SHA dfa9c96View commit details
Commits on Jan 24, 2024
-
tools/healthcheck: further fix the problem discussed in previous commit
Unfortunately, the CAS solution in the last commit is not effective for healthcheck process cannot maintain the correct previous weight value. Thus resource version is used instead, which should be passed to the lb api when the healthcheck try to update rs, and the api would reject the request if the resouce version is outdated. use vs version to resync target status when notification fails Signed-off-by: ywc689 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1806cd0 - Browse repository at this point
Copy the full SHA 1806cd0View commit details
Commits on Jan 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for cba78e9 - Browse repository at this point
Copy the full SHA cba78e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3bc93dd - Browse repository at this point
Copy the full SHA 3bc93ddView commit details
Commits on Feb 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c2d2863 - Browse repository at this point
Copy the full SHA c2d2863View commit details
Commits on Feb 21, 2024
-
tools/healthcheck: fix serveral problems
- update config version finally in updateConfig and only when the backend config is in healthy state - fix notification resync fail problem caused by insufficient channel size - fix array index problem in function NewTargetFromStr Signed-off-by: ywc689 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a392793 - Browse repository at this point
Copy the full SHA a392793View commit details
Commits on Feb 22, 2024
-
tools/healthcheck: fix a deadlock problem caused by notification resync
Signed-off-by: ywc689 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e18c333 - Browse repository at this point
Copy the full SHA e18c333View commit details
Commits on Feb 27, 2024
-
dpvs-agent local cache builded depend on the user api invoke only. (e…
…g. POST|PUT /vs/${ID}/rs, PUT /vs/${ID}) Healthcheck api /vs/${ID}/rs/health would not update local cache. GET API /vs | /vs/${ID} response dpvs-agent local cache info default and response dpvs running service detail with query param `healthcheck=true`
Configuration menu - View commit details
-
Copy full SHA for e5d71d1 - Browse repository at this point
Copy the full SHA e5d71d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 134a098 - Browse repository at this point
Copy the full SHA 134a098View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3528ef2 - Browse repository at this point
Copy the full SHA 3528ef2View commit details
Commits on Mar 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6b153c0 - Browse repository at this point
Copy the full SHA 6b153c0View commit details -
tools/healthcheck: fix problems in config update
Signed-off-by: ywc689 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 30fb605 - Browse repository at this point
Copy the full SHA 30fb605View commit details -
Configuration menu - View commit details
-
Copy full SHA for add443b - Browse repository at this point
Copy the full SHA add443bView commit details
Commits on Mar 11, 2024
-
tools/healthcheck: fix bad icmp checksum problem for udp and udpping …
…checkers Signed-off-by: ywc689 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 05eb6fa - Browse repository at this point
Copy the full SHA 05eb6faView commit details
Commits on Mar 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for fad525d - Browse repository at this point
Copy the full SHA fad525dView commit details