Skip to content

[feat](regression) Add dockers to manage multi docker clusters - #57236

Merged
dataroaring merged 2 commits into
apache:masterfrom
w41ter:snapshot/feat/regression_framework_multi_docker_clusters
Oct 22, 2025
Merged

[feat](regression) Add dockers to manage multi docker clusters#57236
dataroaring merged 2 commits into
apache:masterfrom
w41ter:snapshot/feat/regression_framework_multi_docker_clusters

Conversation

@w41ter

@w41ter w41ter commented Oct 22, 2025

Copy link
Copy Markdown
Contributor

and support sharing MS between clusters.

What problem does this PR solve?

Issue Number: close #xxx

Related PR: #xxx

Problem Summary:

Release note

None

Check List (For Author)

  • Test

    • Regression test
    • Unit Test
    • Manual test (add detailed scripts or steps below)
    • No need to test or manual test. Explain why:
      • This is a refactor/code format and no logic has been changed.
      • Previous test can cover this change.
      • No code files have been changed.
      • Other reason
  • Behavior changed:

    • No.
    • Yes.
  • Does this need documentation?

    • No.
    • Yes.

Check List (For Reviewer who merge this PR)

  • Confirm the release note
  • Confirm test cases
  • Confirm document
  • Add branch pick label

@Thearas

Thearas commented Oct 22, 2025

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?

@w41ter

w41ter commented Oct 22, 2025

Copy link
Copy Markdown
Contributor Author

run buildall

@github-actions

Copy link
Copy Markdown
Contributor

PR approved by anyone and no changes requested.

gavinchou
gavinchou previously approved these changes Oct 22, 2025
@github-actions

Copy link
Copy Markdown
Contributor

PR approved by at least one committer and no changes requested.

@github-actions github-actions Bot added the approved Indicates a PR has been approved by one committer. label Oct 22, 2025

@yujun777 yujun777 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@deardeng deardeng left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@w41ter

w41ter commented Oct 22, 2025

Copy link
Copy Markdown
Contributor Author

run buildall

@github-actions github-actions Bot removed the approved Indicates a PR has been approved by one committer. label Oct 22, 2025

@dataroaring dataroaring left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions github-actions Bot added the approved Indicates a PR has been approved by one committer. label Oct 22, 2025
@github-actions

Copy link
Copy Markdown
Contributor

PR approved by at least one committer and no changes requested.

@dataroaring
dataroaring merged commit c4193bd into apache:master Oct 22, 2025
27 checks passed
@w41ter
w41ter deleted the snapshot/feat/regression_framework_multi_docker_clusters branch October 23, 2025 02:23
dwdwqfwe pushed a commit to dwdwqfwe/doris that referenced this pull request Oct 24, 2025
yiguolei pushed a commit that referenced this pull request Jul 23, 2026
### What problem does this PR solve?

TeamCity S3 Docker build #203806 reran branch-4.1 after #64623 and
exposed the next first error shared by all 192 failed suites:

```text
NameError: name 'external_ms_cluster' is not defined
```

This is a partial-backport gap. branch-4.1 already contains the
`--external-ms` argument and passes `external_ms_cluster` to
`Cluster.new`, but missed the corresponding local-variable assignment
from #57236.

Jira: DORIS-26392  
Build: http://172.20.48.17:8111/build/203806  
Reference: #57236

### What is changed?

Initialize `external_ms_cluster` from `args.external_ms` before the
cloud/non-cloud branch.

This PR intentionally does not backport the full multi-cluster feature
or add new validation behavior. It only restores the missing assignment
while preserving the existing branch-4.1 behavior.

### Check List

- [x] Diff against branch-4.1 is exactly one added line.
- [x] `git diff --check`
- [x] `python3 -m py_compile docker/runtime/doris-compose/command.py
docker/runtime/doris-compose/cluster.py`
- [x] AST check confirms the variable is bound before `Cluster.new` uses
it.
- [ ] After merge, rerun branch-4.1 Compile and S3 Docker; all #203806
occurrences must create their clusters and reach their own assertions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. cloud dev/4.1.x dev/4.1.x-conflict reviewed snapshot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants