diff --git a/fe/fe-core/src/main/java/org/apache/doris/common/publish/TopicPublisherThread.java b/fe/fe-core/src/main/java/org/apache/doris/common/publish/TopicPublisherThread.java index db5158e24f5a012..92f561305e033b4 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/common/publish/TopicPublisherThread.java +++ b/fe/fe-core/src/main/java/org/apache/doris/common/publish/TopicPublisherThread.java @@ -66,7 +66,7 @@ protected void runAfterCatalogReady() { topicPublisher.getTopicInfo(request); } - if (request.getTopicMap().size() == 0) { + if (request.getTopicMapSize() == 0) { return; }