You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/04/07 09:23:00 UTC

[GitHub] [incubator-shardingsphere] KomachiSion opened a new issue #5092: Under the limit thread pool, the inventory data task in sharding-scaling will not execute

KomachiSion opened a new issue #5092: Under the limit thread pool, the inventory data task in sharding-scaling will not execute
URL: https://github.com/apache/incubator-shardingsphere/issues/5092
 
 
   Currently, sharding-scaling will split inventory data in tables to multiple tasks, and execute them in different threads.
   
   If the thread pool has no enough threads, the task will be break until other task finish and callback break tasks in same taskGroup to re-submit again.
   It can work well if thread pool is not very small.
   
   But if thread pool is quiet small, such as 2, there are some tasks will never be submit successfully, and never be callback re-submit, because the whole group can't submit.
   
   It's a design problem, and it may be resolve by redesign the task thread model.

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


With regards,
Apache Git Services

[GitHub] [shardingsphere] terrymanu closed issue #5092: Under the limit thread pool, the inventory data task in sharding-scaling will not execute

Posted by GitBox <gi...@apache.org>.
terrymanu closed issue #5092:
URL: https://github.com/apache/shardingsphere/issues/5092


   


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