DanielLeens commented on issue #12509: URL: https://github.com/apache/seatunnel/issues/12509#issuecomment-7035284558
<!-- static-slot-validation:20261120:e2597998a991:12509 --> I ran this on 2026-11-20 on the Linux validation host `bigdata03`: Ubuntu 24.04, 8 vCPU / 16 GiB, OpenJDK 21.0.13.1, `-Xms128m -Xmx256m -XX:ActiveProcessorCount=2`. The unmodified runtime was built from `dev` commit [`e2597998a991`](https://github.com/apache/seatunnel/tree/e2597998a991f30fd7c13a634cdd07c7a0a5db44) (3.1.1-SNAPSHOT). Each probe used its own loopback-only Zeta cluster and was shut down afterwards. These are current-development-snapshot results, not a released-version matrix. The normal coordinator-submitted FakeSource → Console control reached `RUNNING`, and normal cancellation returned assigned slots to zero. No product fix was applied for these probes. I rechecked the failed-pre-apply boundary on the current dev runtime with the simpler FakeSource → Console definition. This was a controlled component integration check, not a repeat of the earlier kill-worker/replacement experiment. Run `bash run-probe.sh stale 4` using [the reproducible harness](https://github.com/apache/seatunnel/issues/13344#issuecomment-7035229194): 1. Initialize the job, pre-apply its two slots, and call ResourceUtils.applyResourceForPipeline to persist ownership. 2. Release the pipeline's allocations, then occupy the pool with another job. 3. Verify `preApplyResources(subPlan)` returns false. 4. Call ResourceUtils.applyResourceForPipeline again and validate each returned profile against the original job ID and worker ownership. ```text failedPreapplyThenApplyPipelineReturned=2 activeSlotsOwnedByOriginalJob=0 returnedOwnerJobIDs=[9972] ``` The original job ID was 9971. In this colocated Master/Worker probe, retained futures refer to mutable slot objects that have since been reassigned to blocker 9972; the utility still returns them without rejecting the failed reallocation. This confirms that proceeding to consume those futures is invalid. It does not reproduce the remote worker's exact `Unknown slot` exception, and no task was deliberately deployed into another job's allocation. Existing PR #12510 already owns the fix; I did not create a duplicate. Validation and wording were AI-assisted; the outputs above are from the actual host runs. -- 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]
