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

   Thanks @SEZ9 for the careful review. I've added Javadoc to 
`SlotService.reset()` and `DefaultSlotService.reset()` describing when it 
rebuilds, when it keeps state, that it shares a monitor with 
`requestSlot`/`releaseSlot`, and that retained slots aren't reconciled with the 
master. The warning now logs each retained slot ID with its owner job ID 
instead of just counts. The two live-assignment tests share one helper, and the 
idle-worker test releases its slot in a `finally`. I've also updated the PR 
description. On reconciliation, I agree a kept slot isn't proof its job is 
still running, but @zhangshenghang asked to keep this PR scoped to preserving 
live assignments, and doing it safely needs job and sequence ownership from the 
master rather than just an empty context, so I'd like to take it on as a 
separate follow-up issue.
   


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