mirror of
https://github.com/apache/doris.git
synced 2026-11-04 07:31:17 +00:00
## Proposed changes Changes: - Add DNS readiness gates before FE/BE startup in FQDN mode. - Add DNS checks to disaggregated FE/BE readiness probes before calling `/api/health` by FQDN. - Fix BE registration on dual-stack Kubernetes pods by using injected `POD_IP`, falling back to the first `hostname -I` address outside Kubernetes. - In disaggregated BE `HOST_TYPE=IP` mode, use `COMPUTE_GROUP_NAME` directly instead of resolving pod-0 by FQDN. - Log `ALTER SYSTEM ADD BACKEND` SQL/results and fail fast when backend registration fails. No FE registration-address behavior is changed. Existing `stop_fe.sh --grace` and `stop_be.sh --grace` prestop behavior in apache/doris is kept unchanged. ## Validation - `bash -n docker/runtime/fe/resource/fe_entrypoint.sh` - `bash -n docker/runtime/fe/resource/fe_disaggregated_entrypoint.sh` - `bash -n docker/runtime/fe/resource/fe_disaggregated_probe.sh` - `bash -n docker/runtime/be/resource/be_entrypoint.sh` - `bash -n docker/runtime/be/resource/be_disaggregated_entrypoint.sh` - `bash -n docker/runtime/be/resource/be_disaggregated_probe.sh` - `git diff --check`