DanielLeens commented on issue #13347:
URL: https://github.com/apache/seatunnel/issues/13347#issuecomment-7035249492

   <!-- static-slot-validation:20261120:e2597998a991:13347 -->
   
   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.
   
   **Confirmed that the reset RPC clears an existing allocation and its 
SlotContext on current dev.** Steps: run `bash run-probe.sh reset 4` using [the 
reproducible 
harness](https://github.com/apache/seatunnel/issues/13344#issuecomment-7035229194).
   
   1. Start an isolated four-slot member and allocate one slot through 
`ResourceManager.applyResource`.
   2. Verify `getSlotContext(profile)` succeeds and keep a serialized copy of 
the profile.
   3. Send the actual `ResetResourceOperation` to the worker.
   4. Read the worker profile and call `getSlotContext(oldProfile)` again.
   
   ```text
   beforeAssigned=1 afterAssigned=0 oldContextMissing=true hadContext=true
   ```
   The old context lookup throws `WrongTargetSlotException`. No connector task 
was executing in that allocation, so this proves destructive slot/context 
reset, not double execution of live tasks or the frequency of natural 
partition/merge triggers.
   
   I found the existing fix PR #13363 and did not create a duplicate 
implementation. These results are for unpatched dev, not validation of that PR.
   
   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]

Reply via email to