Skip to content

[docker] skip BE restart in terminating pod#64118

Merged
hello-stephen merged 1 commit into
apache:masterfrom
Al-assad:hana/be-terminating-sentinel
Jun 4, 2026
Merged

[docker] skip BE restart in terminating pod#64118
hello-stephen merged 1 commit into
apache:masterfrom
Al-assad:hana/be-terminating-sentinel

Conversation

@Al-assad
Copy link
Copy Markdown
Member

@Al-assad Al-assad commented Jun 4, 2026

Summary

  • add a terminating sentinel path for disaggregated BE startup
  • exit before any registration/startup side effects when the pod is already marked terminating
  • keep the sentinel path overridable via env for operator integration

Test

  • bash -n docker/runtime/be/resource/be_disaggregated_entrypoint.sh
  • TERMINATING_SENTINEL_PATH=$(mktemp -u) ... minimal local run with a touched sentinel file, verify script exits 0 before start_be.sh

@hello-stephen
Copy link
Copy Markdown
Contributor

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@hello-stephen
Copy link
Copy Markdown
Contributor

skip buildall

@hello-stephen hello-stephen merged commit fc639a1 into apache:master Jun 4, 2026
32 of 33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants