cloud-fan commented on code in PR #53782:
URL: https://github.com/apache/spark/pull/53782#discussion_r2692903253


##########
core/src/main/scala/org/apache/spark/scheduler/DAGScheduler.scala:
##########
@@ -1569,20 +1569,15 @@ private[spark] class DAGScheduler(
             // loss. Moreover, because this check occurs later in the process, 
if a result stage task
             // has successfully completed, we can detect this and abort the 
job, as rolling back a
             // result stage is not possible.
-            val stagesToRollback = collectSucceedingStages(sms)
-            filterAndAbortUnrollbackableStages(stagesToRollback)
+            rollbackSucceedingStages(sms, rollbackCurrentStage = true)

Review Comment:
   why do we need to rollback the current stage here?



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