caiconghui edited a comment on issue #4046:
URL: 
https://github.com/apache/incubator-doris/issues/4046#issuecomment-654852287


   Here, we start the thread in MasterTaskExecutor
   
       public MasterTaskExecutor(int threadNum) {
           executor = ThreadPoolManager.newScheduledThreadPool(threadNum, 
"Master-Task-Executor-Pool");
           runningTasks = Maps.newHashMap();
           executor.scheduleAtFixedRate(new TaskChecker(), 0L, 1000L, 
TimeUnit.MILLISECONDS);
       }
   
   
https://github.com/apache/incubator-doris/blob/master/fe/src/main/java/org/apache/doris/task/MasterTaskExecutor.java#L39-#L43
   
   in catalog ,we init loadTaskScheduler, we cannot gc loadTaskScheduler when 
checkpoint catalog is set to be null
   
https://github.com/apache/incubator-doris/blob/c9a7c373a709a9d8c195eaf4245fb06c1cc667fe/fe/src/main/java/org/apache/doris/catalog/Catalog.java#L527


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



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

Reply via email to