Mithilbatra commented on issue #13347: URL: https://github.com/apache/seatunnel/issues/13347#issuecomment-7012473969
Hi @zhangshenghang, thanks for the detailed analysis. I'd like to work on this one and have opened #13363 for it. Scope (kept to this issue, not the sibling slot issues): - Drop the `initStatus` flag from `DefaultSlotService`, since "initialized" isn't the same as "safe to reset". - Make `reset()` a no-op with a warning while the worker still has assigned slots or live slot contexts, and reinitialize only when it is empty. - Add a regression test that assigns a fixed slot, calls `reset()`, and checks that the assignment, its sequence and the slot context are still there. The graceful "stop the task groups first, then rebuild" path (point 2 of your suggestion) seems like a bigger change, so I've left it for a follow-up unless you'd like it in the same PR. Could you assign this to me? -- 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]
