SEZ9 commented on issue #12509:
URL: https://github.com/apache/seatunnel/issues/12509#issuecomment-7052693151

   The new probe on `dev` commit `e2597998a991` supports the original point: 
once `preApplyResources(subPlan)` returns false, restore must not go on to 
consume the retained slot futures.
   
   - **What the run shows:** after the failed pre-apply, 
`ResourceUtils.applyResourceForPipeline` still returned 2 profiles. 
`activeSlotsOwnedByOriginalJob=0` and `returnedOwnerJobIDs=[9972]`, while the 
original job was 9971. The retained futures therefore point at slots already 
reassigned to the blocker job, and nothing rejects them.
   - **What it does not show:** this was a colocated Master/Worker component 
check with FakeSource → Console, not the earlier kill-worker/replacement 
experiment. It did not reproduce the remote worker's exact 
`WrongTargetSlotException: Unknown slot`, and it is a development-snapshot 
result rather than a released-version matrix.
   
   The fix stays with #12510, and this issue stays open until that lands.
   
   Remaining asks:
   
   1. Keep the regression test in #12510 focused on this boundary: a false 
result from `preApplyResources` stops restore before `restorePipeline` consumes 
the pre-release futures. The successful-allocation path and the configured 
retry policy should be left unchanged.
   2. Retain the ordinary worker-loss/replacement evidence alongside it. The 
stale-future probe complements that evidence but does not replace it.
   3. Re-run the original worker-loss/replacement scenario with the #12510 
guard applied and post the result. We still need to see that `Unknown slot` no 
longer appears on the remote-worker path, since the current probe does not 
cover it.
   4. Post the current Build status of #12510. The last status recorded here 
was "in progress", and a green Build plus normal review of the state transition 
and retry behavior is still the gate for closing.
   
   <!-- streview-comment:2492 -->


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