Open zhuqiuyang opened 6 years ago
when call hc.spawn_checker the upstream is: upstream test { server 127.0.0.1:8080; }
hc.spawn_checker
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; }
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.
127.0.0.1:8081
hc. spawn_checker
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 callhc. spawn_checker
.