yiguolei commented on code in PR #9172: URL: https://github.com/apache/incubator-doris/pull/9172#discussion_r861576458
########## fe/fe-core/src/main/java/org/apache/doris/catalog/BrokerMgr.java: ########## @@ -273,7 +273,7 @@ public void replayDropBrokers(String name, List<FsBroker> addresses) { try { ArrayListMultimap<String, FsBroker> brokerAddrsMap = brokersMap.get(name); for (FsBroker addr : addresses) { - brokerAddrsMap.remove(addr.ip, addr); + brokerAddrsMap.remove(addr.hostName == null ? addr.ip : addr.hostName, addr); Review Comment: we should always use ip:port to delete broker. -- 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