Code review comment: ```suggestion                     backendIds.addAll( warehouse.getAnyAvailableCluster().getComputeNodeIds()); ```

Code under review:
private PProxyResult sendProxyRequest(PProxyRequest request) throws UserException {
            TNetworkAddress address = new TNetworkAddress();
            try {
                List<Long> backendIds = new ArrayList<>();
                if ((RunMode.getCurrentRunMode() == RunMode.SHARED_DATA)) {
                    Warehouse warehouse = GlobalStateMgr.getCurrentWarehouseMgr().getDefaultWarehouse();
                    backendIds = warehouse.getAnyAvailableCluster().getComputeNodeIds().stream().collect(Collectors.toList());
                } else {
                    backendIds = GlobalStateMgr.getCurrentSystemInfo().getBackendIds(true);
                }

                if (backendIds.isEmpty()) {
                    throw new LoadException("Failed to send proxy request. No alive backends");
                }
                Collections.shuffle(backendIds);
                
                ComputeNode be = GlobalStateMgr.getCurrentSystemInfo().getBackendOrComputeNode(backendIds.get(0));
                address = new TNetworkAddress(be.getHost(), be.getBrpcPort());

                
                request.timeout = Config.routine_load_kafka_timeout_second;
                Future<PProxyResult> future = BackendServiceClient.getInstance().getInfo(address, request);
                PProxyResult result = future.get(Config.routine_load_kafka_timeout_second, TimeUnit.SECONDS);
                TStatusCode code = TStatusCode.findByValue(result.status.statusCode);
                if (code != TStatusCode.OK) {
                    LOG.warn("failed to send proxy request to " + address + " err " + result.status.errorMsgs);
                    throw new UserException(
                            "failed to send proxy request to " + address + " err " + result.status.errorMsgs);
                } else {
                    return result;
                }
            } catch (InterruptedException ie) {
                LOG.warn("got interrupted exception when sending proxy request to " + address);
                Thread.currentThread().interrupt();
                throw new LoadException("got interrupted exception when sending proxy request to " + address);
            } catch (Exception e) {
                LOG.warn("failed to send proxy request to " + address + " err " + e.getMessage());
                throw new LoadException("failed to send proxy request to " + address + " err " + e.getMessage());
            }
        }

Line commented on: backendIds = warehouse.getAnyAvailableCluster().getComputeNodeIds().stream().collect(Collectors.toList());

Revised code:
private PProxyResult sendProxyRequest(PProxyRequest request) throws UserException {
            TNetworkAddress address = new TNetworkAddress();
            try {
                
                List<Long> nodeIds = new ArrayList<>();
                if ((RunMode.getCurrentRunMode() == RunMode.SHARED_DATA)) {
                    Warehouse warehouse = GlobalStateMgr.getCurrentWarehouseMgr().getDefaultWarehouse();
                    nodeIds = warehouse.getAnyAvailableCluster().getComputeNodeIds();
                    if (nodeIds.isEmpty()) {
                        throw new LoadException("Failed to send proxy request. No alive backends or computeNodes");
                    }
                } else {
                    nodeIds = GlobalStateMgr.getCurrentSystemInfo().getBackendIds(true);
                    if (nodeIds.isEmpty()) {
                        throw new LoadException("Failed to send proxy request. No alive backends");
                    }
                }

                Collections.shuffle(nodeIds);

                ComputeNode be = GlobalStateMgr.getCurrentSystemInfo().getBackendOrComputeNode(nodeIds.get(0));
                address = new TNetworkAddress(be.getHost(), be.getBrpcPort());

                
                request.timeout = Config.routine_load_kafka_timeout_second;
                Future<PProxyResult> future = BackendServiceClient.getInstance().getInfo(address, request);
                PProxyResult result = future.get(Config.routine_load_kafka_timeout_second, TimeUnit.SECONDS);
                TStatusCode code = TStatusCode.findByValue(result.status.statusCode);
                if (code != TStatusCode.OK) {
                    LOG.warn("failed to send proxy request to " + address + " err " + result.status.errorMsgs);
                    throw new UserException(
                            "failed to send proxy request to " + address + " err " + result.status.errorMsgs);
                } else {
                    return result;
                }
            } catch (InterruptedException ie) {
                LOG.warn("got interrupted exception when sending proxy request to " + address);
                Thread.currentThread().interrupt();
                throw new LoadException("got interrupted exception when sending proxy request to " + address);
            } catch (Exception e) {
                LOG.warn("failed to send proxy request to " + address + " err " + e.getMessage());
                throw new LoadException("failed to send proxy request to " + address + " err " + e.getMessage());
            }
        }