WingsGo commented on a change in pull request #4049: URL: https://github.com/apache/incubator-doris/pull/4049#discussion_r451308462
########## File path: fe/src/main/java/org/apache/doris/catalog/Catalog.java ########## @@ -458,10 +459,10 @@ public DynamicPartitionScheduler getDynamicPartitionScheduler() { } private static class SingletonHolder { - private static final Catalog INSTANCE = new Catalog(); + private static final Catalog INSTANCE = new Catalog(false); } - private Catalog() { + private Catalog(boolean isCheckpointCatalog) { Review comment: maybe we should add some comment to this arg, such as: isCheckpointCatalog=true means we need to do some thread metrics collect. ---------------------------------------------------------------- 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