Skip to content

[fix](regression) Fetch streaming job metrics from master FE - #66460

Merged
liaoxin01 merged 2 commits into
apache:masterfrom
JNSimba:fix/streaming-job-metrics-master-endpoint
Aug 6, 2026
Merged

[fix](regression) Fetch streaming job metrics from master FE#66460
liaoxin01 merged 2 commits into
apache:masterfrom
JNSimba:fix/streaming-job-metrics-master-endpoint

Conversation

@JNSimba

@JNSimba JNSimba commented Aug 5, 2026

Copy link
Copy Markdown
Member

What problem does this PR solve?

Issue Number: None

Related PR: None

Problem Summary:

The streaming job metrics regression test queried the configured FE HTTP endpoint, which can be a follower in a multi-FE environment. The doris_fe_job RUNNING gauge and per-job streaming job metrics are produced only on the master FE, so the test could time out even while the streaming job was running.

Resolve the current master FE HTTP address with the regression framework helpers before polling and query metrics from that endpoint.

Release note

None

Check List (For Author)

  • Test

    • Regression test
    • Unit Test
    • Manual test
      • Command: ./run-regression-test.sh --run -dryRun -f regression-test/suites/job_p0/streaming_job/cdc/test_streaming_mysql_job_metrics.groovy
      • Result: the dry-run loaded the selected suite successfully, with 1 suite and 0 failures. Full CDC execution was not run locally.
    • No need to test or manual test.
  • 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

@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?

@JNSimba

JNSimba commented Aug 5, 2026

Copy link
Copy Markdown
Member Author

run buildall

@JNSimba

JNSimba commented Aug 5, 2026

Copy link
Copy Markdown
Member Author

/review

@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Codex automated review failed and did not complete.

Error: All Codex review accounts are usage-limited; earliest retry is 2026-08-08T03:32:00Z.
Workflow run: https://github.com/apache/doris/actions/runs/30971468139

Please trigger /review again after that time.

@JNSimba
JNSimba force-pushed the fix/streaming-job-metrics-master-endpoint branch from 9c483c0 to 6c8fbd0 Compare August 5, 2026 03:43
@JNSimba

JNSimba commented Aug 5, 2026

Copy link
Copy Markdown
Member Author

run buildall

@JNSimba

JNSimba commented Aug 5, 2026

Copy link
Copy Markdown
Member Author

run buildall

@JNSimba

JNSimba commented Aug 5, 2026

Copy link
Copy Markdown
Member Author

/review

@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Codex automated review failed and did not complete.

Error: All Codex review accounts are usage-limited; earliest retry is 2026-08-08T03:32:00Z.
Workflow run: https://github.com/apache/doris/actions/runs/31013068280

Please trigger /review again after that time.

@liaoxin01 liaoxin01 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

@liaoxin01
liaoxin01 merged commit 4e3c1b8 into apache:master Aug 6, 2026
29 of 30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants