sollhui opened a new pull request, #69500:
URL: https://github.com/apache/doris/pull/69500

   ### What problem does this PR solve?
   
   Issue Number: N/A
   
   Related PR: #67250
   
   Problem Summary: Backport #67250 to branch-4.2. Queued Cloud Broker Load 
tasks could move a job from RETRY back to LOADING, allowing concurrent failures 
to start multiple retry handlers. An older handler could then revive an already 
finished job and reuse its VISIBLE transaction. Prevent loading tasks from 
reopening a retrying attempt and schedule the next PENDING attempt only while 
the job remains in RETRY.
   
   The test conflict resolution preserves branch-4.2's existing 
`testUpdateStateToFinished` implementation and adds the original PR's 
retry-state test.
   
   ### Release note
   
   Fix Cloud Broker Load jobs being retried after a later attempt already 
finished.
   
   ### Check List (For Author)
   
   - Test: Compilation and tests skipped as requested. The original PR's 
focused unit coverage is included. CI requested with `run buildall`.
   - Behavior changed: Yes. Stale loading tasks and retry handlers cannot 
reopen a completed Cloud Broker Load attempt.
   - Does this need documentation: No.
   


-- 
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]

Reply via email to