gavinchou commented on code in PR #37157:
URL: https://github.com/apache/doris/pull/37157#discussion_r1689790726


##########
fe/fe-core/src/main/java/org/apache/doris/alter/AlterLightSchChangeHelper.java:
##########
@@ -156,14 +157,14 @@ public AlterLightSchemaChangeInfo callForColumnsInfo()
         Map<Long, Future<PFetchColIdsResponse>> beIdToRespFuture = new 
HashMap<>();
         try {
             for (Long beId : beIdToRequest.keySet()) {
-                final Backend backend = 
Env.getCurrentSystemInfo().getIdToBackend().get(beId);
+                final Backend backend = 
Env.getCurrentSystemInfo().getAllBackendsByAllCluster().get(beId);
                 final TNetworkAddress address =
                         new 
TNetworkAddress(Objects.requireNonNull(backend).getHost(), 
backend.getBrpcPort());
                 final Future<PFetchColIdsResponse> responseFuture = 
BackendServiceProxy.getInstance()
                         .getColumnIdsByTabletIds(address, 
beIdToRequest.get(beId));
                 beIdToRespFuture.put(beId, responseFuture);
             }
-        } catch (RpcException e) {
+        } catch (RpcException | UserException e) {

Review Comment:
   UserException is not a RPC exception



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