csurong commented on PR #18736: URL: https://github.com/apache/dolphinscheduler/pull/18736#issuecomment-6576211591
Thanks @SbloodyS @ruanwenjun. I traced this again, and the coordinator retry was not well justified. The test mocked a temporary enqueue rejection, but I hadn't established a corresponding failure path in the real reporter. The normal sequence is: 1. The worker stops tracking execution, but the executor remains in the repository. 2. The coordinator passes the terminal event to the reporter's in-memory queue. 3. Once accepted, the listener finalizes the executor. Remote delivery and ACK retries run independently. The explicit missing-executor exception is a lifecycle check; retrying the event would not restore the missing executor. Other local exceptions are still possible, so I shouldn't have presented this as general recovery. I've removed the coordinator retry in 6174097, which also removes the unbounded 50ms retry path. The tests now use the real worker/coordinator/reporter chain, with failure injected at remote delivery, and verify resource release and slot reuse for all four terminal states. I also added coverage for recreating a channel after its previous events are acknowledged. The 34 targeted tests pass locally. Does keeping this PR focused on resource release after remote delivery or ACK failure make sense to you? -- 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]
