davidzollo commented on PR #11458:
URL: https://github.com/apache/seatunnel/pull/11458#issuecomment-5476826317

   I traced the current-head call sites before changing this behavior. The 
active-master restore scheduler enters `CoordinatorService.pendingJobSchedule`, 
which invokes `jobMaster.preApplyResources()` without a `SubPlan`. On 
successful whole-job pre-apply, the current code stores the futures and clears 
the `volatile masterFailoverRestore` flag. The only `preApplyResources(this)` 
caller is `SubPlan`'s later pipeline-recovery path, reached after that initial 
scheduling step.
   
   Therefore the reported permanent-reuse window does not occur on the current 
control flow. The cleanup collection is already identity-based, so retained 
profiles are excluded without depending on value equality. I found no safe 
source change to make for this comment; the current-head Build is green.


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

Reply via email to