You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/11/23 08:34:49 UTC

[GitHub] [apisix] yyangh1 opened a new issue #5587: lua-resty-healthcheck 是否能支持配置最少保留节点数?

yyangh1 opened a new issue #5587:
URL: https://github.com/apache/apisix/issues/5587


   ### Issue description
   
   lua-resty-healthcheck的主动检查如果不能配置最少保留节点数,在出现检查地址出错或者检查接口不通等原因的时候,会把所有节点全部下线,出现灾难性的问题
   
   ### Environment
   
   - apisix version (cmd: `apisix version`):2.8
   - OS (cmd: `uname -a`):centos7
   - OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):1.19.9.1
   - etcd version, if have (cmd: run `curl http://127.0.0.1:9090/v1/server_info` to get the info from server-info API):3.4.9
   - apisix-dashboard version, if have:2.7
   - the plugin runner version, if the issue is about a plugin runner (cmd: depended on the kind of runner):
   - luarocks version, if the issue is about installation (cmd: `luarocks --version`):
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] spacewander commented on issue #5587: lua-resty-healthcheck 是否能支持配置最少保留节点数?

Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #5587:
URL: https://github.com/apache/apisix/issues/5587#issuecomment-976286513


   BTW, the current health check can't bring all the nodes down. See https://github.com/apache/apisix/blob/59497deb8f3d7df2a9bd877d367f62108aea078f/apisix/balancer.lua#L86


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] spacewander commented on issue #5587: lua-resty-healthcheck 是否能支持配置最少保留节点数?

Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #5587:
URL: https://github.com/apache/apisix/issues/5587#issuecomment-976294669


   When there is something wrong with the health check, the original nodes will serve as used.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org