SEZ9 commented on PR #13363:
URL: https://github.com/apache/seatunnel/pull/13363#issuecomment-7145086762

   @Mithilbatra thanks for the detailed follow-up. To answer your question 
directly: yes, I'm fine with handling reconciliation as a separate follow-up 
rather than in this PR.
   
   - **Recovery path for retained slots:** Agreed that a kept slot isn't proof 
its job is still running. I also agree that a safe fix needs job and sequence 
ownership from the master rather than just an empty context, so it is 
reasonable to keep this PR scoped to preserving live assignments. Until then, 
the Javadoc note that retained slots aren't reconciled with the master, plus 
the warning listing each retained slot ID with its owner job ID, make the 
limitation visible and diagnosable.
   - **`reset()` contract:** The Javadoc on `SlotService.reset()` and 
`DefaultSlotService.reset()` now covers when it rebuilds, when it keeps state, 
and the monitor it shares with `requestSlot`/`releaseSlot`. Together with the 
updated PR description, that covers what I asked for.
   - **Test cleanup:** The shared helper for the two live-assignment tests and 
releasing the slot in a `finally` in the idle-worker test resolve this one.
   
   The one remaining ask is to open the follow-up issue for reconciliation and 
link it here, so the known limitation is tracked. Please describe the gap in 
it: slots the master no longer tracks can stay assigned on the worker until the 
process is restarted. Please also note the constraint you mentioned, that 
reconciliation must consult the master's job and sequence ownership.
   
   <!-- streview-comment:2584 -->


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