zddr commented on code in PR #22272:
URL: https://github.com/apache/doris/pull/22272#discussion_r1278866052


##########
fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java:
##########
@@ -1642,13 +1640,19 @@ private void getNewImage(HostInfo helperNode) throws 
IOException {
         try {
             String hostPort = 
NetUtils.getHostPortInAccessibleFormat(helperNode.getHost(), Config.http_port);
             String infoUrl = "http://"; + hostPort + "/info";
-            StorageInfo info = getStorageInfo(infoUrl);
+            ResponseBody<StorageInfo> responseBody = MetaHelper
+                    .doGet(infoUrl, HTTP_TIMEOUT_SECOND * 1000, 
StorageInfo.class);

Review Comment:
   ResponseBody<StorageInfo> Equivalent to StorageInfoV2,so we do not need 
StorageInfoV2



-- 
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

Reply via email to