SEZ9 commented on PR #13363: URL: https://github.com/apache/seatunnel/pull/13363#issuecomment-7180597075
@Mithilbatra thanks for the update. Here is where the three earlier points stand, based on your description of the changes. - **Reset contract docs:** The Javadoc on `SlotService.reset()` and `DefaultSlotService.reset()` now covers when it rebuilds, when it keeps state, the monitor it shares with `requestSlot`/`releaseSlot`, and that retained slots aren't reconciled with the master. Together with the updated PR description, that addresses this point. - **Test cleanup:** A shared helper for the two live-assignment tests and releasing the slot in a `finally` in the idle-worker test is what was asked for, so nothing more is needed here. - **No recovery path for retained slots:** This is still open, since a kept slot isn't proof that its job is still running. I agree with deferring it, though: doing it safely needs job and sequence ownership from the master, not a worker-side heuristic, so a separate follow-up is the right place. Remaining asks: 1. Please open the follow-up issue for master-driven reconciliation of retained slots and link it in this thread, so the limitation is tracked. 2. Please keep the per-slot warning (slot ID plus owner job ID) and the documented "not reconciled with the master" limitation as they are. Until the follow-up lands, they are the only way to diagnose a retained slot. <!-- streview-comment:2623 --> -- 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]
