Files
doris/fe
wudi deb079478d [fix](fe) Report missing backend during stream load planning (#69989)
### What problem does this PR solve?

Issue Number: None

Problem Summary:

A cloud Stream Load request can still arrive from a BE after scaling has
removed that BE from FE metadata. Resolving the compute group then
obtains a null backend and throws a NullPointerException, which reaches
the caller as a generic INTERNAL_ERROR.

Return a descriptive UserException containing the missing backend ID
instead. The existing RPC exception handler converts it to
ANALYSIS_ERROR. The request fails before plan generation, allowing the
existing CDC task failure and automatic rescheduling flow to handle
recovery.

Add an RPC-level test for a missing backend with token authentication
and a compute-group header. It checks the returned status and backend
ID, absence of an execution plan, and ConnectContext cleanup.
2026-11-03 14:23:43 +08:00
..
…
…
…
…

# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License.  You may obtain a copy of the License at
#
#   http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied.  See the License for the
# specific language governing permissions and limitations
# under the License.

# fe-common

This module is used to store some common classes of other modules.

# spark-dpp

This module is Spark DPP program, used for Spark Load function.
Depends: fe-common

# fe-core

This module is the main process module of FE.
Depends: fe-common, spark-dpp