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: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
