morrySnow commented on code in PR #49097: URL: https://github.com/apache/doris/pull/49097#discussion_r2003286370
########## fe/fe-core/src/main/java/org/apache/doris/datasource/ExternalMetaCacheMgr.java: ########## @@ -131,6 +131,19 @@ public ExternalMetaCacheMgr() { paimonMetadataCacheMgr = new PaimonMetadataCacheMgr(commonRefreshExecutor); } + private ExecutorService newThreadPool(boolean isCheckpointCatalog, int numThread, int queueSize, + String poolName, int timeoutSeconds, + boolean needRegisterMetric) { + String executorNamePrefix = isCheckpointCatalog ? "Checkpoint" : "NotCheckpoint"; + String realPoolName = executorNamePrefix + poolName; + if (isCheckpointCatalog) { Review Comment: add comment to explain why use different ThreadPool -- 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. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org 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