SEZ9 commented on PR #13363: URL: https://github.com/apache/seatunnel/pull/13363#issuecomment-7295370895
Thanks for the follow-up. The cancellation-timeout analysis in this thread covers the sink-registration retry path, which does not call SlotService, so it does not settle the three open points from the earlier review. I don't see a response to any of them in the thread yet; if a newer push already covers one, please point me to it. **1. Recovery after a skipped reset (MEDIUM, still open)** When `reset()` is skipped on a busy worker, slots the master no longer tracks can stay assigned on the worker until the process restarts. Either of these would close it: - a concrete example (ideally a test) showing how a master-forgotten assignment is reclaimed after the skipped reset, or - an explicit recovery path in the next head. Please keep the busy-worker behaviour itself: preserving live assignments is the right call. The question is only how the orphaned ones are eventually released. **2. `reset()` contract (LOW)** `reset()` now means "rebuild only if idle, otherwise do nothing". Please state that on the method in `DefaultSlotService` and in the PR description, so callers do not assume it always rebuilds. **3. Test cleanup in `FixSlotResourceTest` (LOW)** - The two "keeps live assignment" tests repeat the same seven-line assertion block; a shared helper would remove the duplication. - The third test releases its slot outside `finally`; please move the release into `finally` so a failed assertion does not leak the allocation. Point 1 is the one I'd like resolved before this moves forward. Points 2 and 3 are small and can go in the same push. <!-- streview-comment:2748 --> -- 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]
