Skip to content

branch-4.1: [improve](streaming-job) Cap auto-resume attempts and expose structured FailureReason #62345#62852

Open
github-actions[bot] wants to merge 1 commit intobranch-4.1from
auto-pick-62345-branch-4.1
Open

branch-4.1: [improve](streaming-job) Cap auto-resume attempts and expose structured FailureReason #62345#62852
github-actions[bot] wants to merge 1 commit intobranch-4.1from
auto-pick-62345-branch-4.1

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Cherry-picked from #62345

…ed FailureReason (#62345)

### What problem does this PR solve?

`StreamingInsertJob` has two gaps:

1. **No retry budget.** `autoResumeHandler` retries forever — a
permanently broken job keeps hammering at the 5-min backoff cap
indefinitely.
2. **Unstructured `ErrorMsg`.** The `jobs()` TVF only returns
`FailureReason.msg`, so the frontend cannot tell manual pause from
auto-recovery from non-recoverable failure without grepping the error
message.
@github-actions github-actions Bot requested a review from yiguolei as a code owner April 27, 2026 03:05
@Thearas
Copy link
Copy Markdown
Contributor

Thearas commented Apr 27, 2026

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?

@dataroaring dataroaring reopened this Apr 27, 2026
@Thearas
Copy link
Copy Markdown
Contributor

Thearas commented Apr 27, 2026

run buildall

1 similar comment
@JNSimba
Copy link
Copy Markdown
Member

JNSimba commented Apr 27, 2026

run buildall

@hello-stephen
Copy link
Copy Markdown
Contributor

FE Regression Coverage Report

Increment line coverage 13.64% (21/154) 🎉
Increment coverage report
Complete coverage report

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.

4 participants