You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by "blossomin (via GitHub)" <gi...@apache.org> on 2023/02/07 12:29:58 UTC
[GitHub] [openwhisk] blossomin opened a new issue, #5377: Openwhisk FPCPoolbalancer scheduler pick based on queueSize
blossomin opened a new issue, #5377:
URL: https://github.com/apache/openwhisk/issues/5377
<!--
We use the issue tracker for bugs and feature requests. For general questions and discussion please use https://openwhisk.apache.org/slack.html or https://openwhisk.apache.org/community.html instead.
Do NOT share passwords, credentials or other confidential information.
Before creating a new issue, please check if there is one already open that
fits the defect you are reporting.
If you open an issue and realize later it is a duplicate of a pre-existing
open issue, please close yours and add a comment to the other.
Issues can be created for either defects or enhancement requests. If you are a committer than please add the labels "bug" or "feature". If you are not a committer please make clear in the comments which one it is, so that committers can add these labels later.
If you are reporting a defect, please edit the issue description to include the
information shown below.
If you are reporting an enhancement request, please include information on what you are trying to achieve and why that enhancement would help you.
For more information about reporting issues, see
https://github.com/apache/openwhisk/blob/master/CONTRIBUTING.md#raising-issues
Use the commands below to provide key information from your environment:
You do not have to include this information if this is a feature request.
-->
## Environment details:
* local deployment, native ubuntu, Mac OS, Kubernetes, ...
* version of docker, ubuntu, ...
## Steps to reproduce the issue:
1. https://github.com/apache/openwhisk/blob/master/core/controller/src/main/scala/org/apache/openwhisk/core/loadBalancer/FPCPoolBalancer.scala#L741
this line is used to choose a scheduler by the FPCPoolBalancer. And it uses the queueSize as a base to get a scheduler with the least queueSize. But I searched the whole project, the queueSize is not updated after this scheduler creates a new queue. Is this a bug? or we should use the API getQueueSize (for schedulercore) to replace the code here?
## Additional information you deem important:
* issue happens only occasionally or under certain circumstances
* changes you did or observed in the environment
--
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: issues-unsubscribe@openwhisk.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [openwhisk] bdoyle0182 commented on issue #5377: Openwhisk FPCPoolbalancer scheduler pick based on queueSize
Posted by "bdoyle0182 (via GitHub)" <gi...@apache.org>.
bdoyle0182 commented on issue #5377:
URL: https://github.com/apache/openwhisk/issues/5377#issuecomment-1503980531
Hi @blossomin no this is not a bug. The queueSize is updated whenever the schedulerEndpoints trieMap is reloaded from etcd. The schedulers are responsible for updating how many queues are running them to the db, then the controllers will periodically reload this data. See L563 of the FPCPoolBalancer, the function called `loadSchedulerEndpoint()`.
--
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: issues-unsubscribe@openwhisk.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [openwhisk] bdoyle0182 closed issue #5377: Openwhisk FPCPoolbalancer scheduler pick based on queueSize
Posted by "bdoyle0182 (via GitHub)" <gi...@apache.org>.
bdoyle0182 closed issue #5377: Openwhisk FPCPoolbalancer scheduler pick based on queueSize
URL: https://github.com/apache/openwhisk/issues/5377
--
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: issues-unsubscribe@openwhisk.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org