You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "thor533 (via GitHub)" <gi...@apache.org> on 2023/04/18 05:28:02 UTC

[GitHub] [apisix] thor533 opened a new issue, #9323: least-conn is incorrect

thor533 opened a new issue, #9323:
URL: https://github.com/apache/apisix/issues/9323

   ### Description
   
   When I use the least-conn algorithm to select the upstream, if the score is the same, it should use the polling algorithm to select the node, but in my test, this is not the case.
   you can see:
   I've got five nodes, When I use postman to click continuously, it only poll from three nodes, and the other two nodes are never selected. Is there any problem?
   ![image](https://user-images.githubusercontent.com/62246176/232679179-5fc4fa3d-1830-49b7-b63b-c048c0d47936.png)
   
   
   
   
   ### Environment
   
   - APISIX version (run `apisix 2.15-alpine`):
   - Operating system (run `uname -a`):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `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.apache.org

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


[GitHub] [apisix] tao12345666333 commented on issue #9323: least-conn is incorrect

Posted by "tao12345666333 (via GitHub)" <gi...@apache.org>.
tao12345666333 commented on issue #9323:
URL: https://github.com/apache/apisix/issues/9323#issuecomment-1514031644

   Let's discuss in #7088, I will close this one. It's a duplicate.


-- 
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] tao12345666333 closed issue #9323: least-conn is incorrect

Posted by "tao12345666333 (via GitHub)" <gi...@apache.org>.
tao12345666333 closed issue #9323: least-conn is incorrect
URL: https://github.com/apache/apisix/issues/9323


-- 
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] thor533 commented on issue #9323: least-conn is incorrect

Posted by "thor533 (via GitHub)" <gi...@apache.org>.
thor533 commented on issue #9323:
URL: https://github.com/apache/apisix/issues/9323#issuecomment-1512456329

   When I use postman to click consecutively, this active_conn should always be 0. According to (active_conn +1) /weigth, we know that they should have the same score


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