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

[GitHub] [incubator-doris] morningman opened a new issue #4868: [Bug][Load] Load task submit logic has some errors.

morningman opened a new issue #4868:
URL: https://github.com/apache/incubator-doris/issues/4868


   **Describe the bug**
   1.
   The pending load task thread pool and loading load task thread pool should be separated.
   Because when doing the  pending load task in thread pool, the pending task will try to create a new loading task
   and add it to the thread pool. If the thread pool is full, it will be blocked and wait the thread pool to be available.
   But itself also occupy the thread. It is just like a dead lock.
   
   2. 
   the load task thread pool's queue size should be as long as config of `desired_max_waiting_jobs`.
   
   3. 
   When submitting a load task to thread pool, the operation should be outside the database lock, because it may take
   a while to wait the thread pool to be available.
   


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



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [incubator-doris] yangzhg closed issue #4868: [Bug][Load] Load task submit logic has some errors.

Posted by GitBox <gi...@apache.org>.
yangzhg closed issue #4868:
URL: https://github.com/apache/incubator-doris/issues/4868


   


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



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org