morningman commented on a change in pull request #3635: URL: https://github.com/apache/incubator-doris/pull/3635#discussion_r428653196
########## File path: fe/src/main/java/org/apache/doris/task/AgentTaskQueue.java ########## @@ -215,6 +217,20 @@ public static synchronized int getTaskNum() { return taskNum; } + public static synchronized Multimap<Long, Long> getTabletIdsByDbId(TTaskType type) { + Multimap<Long, Long> tabletIds = HashMultimap.create(); + tabletIds.clear(); Review comment: why call clear here? ########## File path: fe/src/main/java/org/apache/doris/task/AgentTaskQueue.java ########## @@ -215,6 +217,20 @@ public static synchronized int getTaskNum() { return taskNum; } + public static synchronized Multimap<Long, Long> getTabletIdsByDbId(TTaskType type) { Review comment: ```suggestion public static synchronized Multimap<Long, Long> getTabletIdsByType(TTaskType type) { ``` ---------------------------------------------------------------- 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