bobhan1 opened a new pull request, #64813:
URL: https://github.com/apache/doris/pull/64813
### What problem does this PR solve?
Issue Number: None
Related PR: None
Problem Summary: Warm-up jobs keep the previous ErrMsg in SHOW WARM UP JOB
after a transient failure even when a later retry succeeds. The FE stores the
message in CloudWarmUpJob.errMsg, but the successful retry paths did not clear
it before exposing job info. This PR clears the message when a periodic job
successfully starts a new run and when an event-driven job successfully sends
SET_JOB to all target BEs, so SHOW WARM UP JOB reflects the current successful
state.
### Release note
None
### Check List (For Author)
- Test
- [ ] Regression test
- [x] 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
Unit test:
- ./run-fe-ut.sh --run org.apache.doris.cloud.CloudWarmUpJobTest
- ./build.sh --fe
- Behavior changed:
- [ ] No.
- [x] Yes. SHOW WARM UP JOB no longer shows a stale warm-up error after
a later retry succeeds.
- Does this need documentation?
- [x] No.
- [ ] Yes.
### Check List (For Reviewer who merge this PR)
- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]