jiangxb1987 opened a new pull request, #55614:
URL: https://github.com/apache/spark/pull/55614

   ### What changes were proposed in this pull request?
   
   Extract a `scheduleResubmit()` helper method in `DAGScheduler` to replace 
three identical code blocks that schedule `ResubmitFailedStages` via 
`messageScheduler`.
   
   ### Why are the changes needed?
   
   The same 5-line block for scheduling a `ResubmitFailedStages` event is 
duplicated in three places (rollback handling, fetch failure handling, and 
barrier stage failure handling). Extracting it into a helper reduces 
duplication and improves readability.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   This is a pure refactoring with no behavior change. Existing tests cover the 
affected code paths.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Code (Claude Opus 4.6)


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