redynasc commented on issue #3339:
URL: https://github.com/apache/apisix/issues/3339#issuecomment-762738492


   > Is there any reason to use a node without weight? We don't expect the user 
will create zero weight node, and it might cause some issue in roundrobin or 
other balancer.
   
   In this case, config the upstream like this.
   "checker":{
    ****
   },
   "nodes":{
       "prod-service:8080":100,
       "disaster-recovery-service:8080":0
   }
   Normally, the request is forwarded to node1. When node1 is unavailable, it 
will be automatically transferred to node2 through the health check.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to