lua-resty-upstream-healthcheck
lua-resty-upstream-healthcheck copied to clipboard
What happens if the server in upstream is dynamic changed ? Now health check will ignore the new incoming server.
when call hc.spawn_checker the upstream is:
upstream test { server 127.0.0.1:8080; }
But some time, upstream update to :upstream test { server 127.0.0.1:8080; server 127.0.0.1:8081; }
Health Check will ignore 127.0.0.1:8081 server, because that peer not in upstream, when i first call hc. spawn_checker.