zzwqqq commented on issue #1322: URL: https://github.com/apache/flink-agents/issues/1322#issuecomment-7367008671
For item 1, the group used to run its own `prepare()` loop. If one member threw, the group could exit before cleaning up the handles. Since #1348 and #1456, group waits use gather, which closes the handles on exit. I tested this in Java and Python on 91d30324. Even when a cancellation hook also threw, the Action could catch the original preparation fault and finish normally. Explicit `group.cancel()` still stops at the first error, so later members never receive a cancellation request. I’d like to document the group wait behavior, add a regression test in each language, and have `group.cancel()` attempt the remaining cancellations before rethrowing the first error. -- 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]
