You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/07/21 07:55:07 UTC

[GitHub] [pulsar] xuesong172500 opened a new issue #7617: Functions worker load balancing failed

xuesong172500 opened a new issue #7617:
URL: https://github.com/apache/pulsar/issues/7617


   **Describe the bug**
   Functions_worker load balancing failed.
   Pulsar 2.5.2
   
   **To Reproduce**
   Steps to reproduce the behavior:
   My cluster has 3 brokers, 3 bookies and 3 functions workers
   
   1. Start 3 bookies, 3 brokers and 1 functions worker.
   
   2. Create function. Set the parallelism number to 2, so that the 2 parallelism will run on the functions worker that has been started.
   
   3. I start another functions_worker. In theory, the 2 parallelism should be shared equally among the 2 functions_workers. The test results show that there is no parallelism. The 2 parallelism are only on the first function worker that was started originally. Even if the update function operation is executed, the load will not be reloaded, except for delete and then create.
   
   4. If I start 2 functions_workers and set the parallelism number to 2, create Function will load 2 parallelism functions on 2 functions_workers. At this time, 1 functions_worker will be killed, and the function on the functions_worker that has been killed will be loaded on another surviving function worker in 1 minute. However, after I restart the functions_worker that has been killed, the 2 parallelism will not be loaded on this functions_worker.
   
   **Expected behavior**
   A clear and concise description of what you expected to happen.
   
   **Screenshots**
   If applicable, add screenshots to help explain your problem.
   
   **Desktop (please complete the following information):**
    - OS: [e.g. iOS]
   
   **Additional context**
   Add any other context about the problem here.
   


----------------------------------------------------------------
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:
users@infra.apache.org