You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: a partial healthcheck target update can discard a live checker when only upstream nodes change #14276
When only upstream nodes change, the healthcheck manager tries to update the live checker in place. If an addition or removal fails, timer_create_checker falls through to a rebuild even though the checks configuration is unchanged. A fresh checker reading a missing target list can lose the previous checker's knowledge that a configured node was unhealthy.
The checker was already running and had measured the target before the partial update. This is a different trigger from #14217, which covered initialization. There is a related library case in api7/lua-resty-healthcheck#76 where registering a target from a fresh checker overwrites surviving shared health.
Expected behavior: retain the live checker, retry incomplete changes in the background, and preserve known health. Cover both addition and removal with unchanged checks, including re-adding a genuinely removed node. The caller-side fix is being developed in #14261.
Activity