bowenli86 commented on PR #28716: URL: https://github.com/apache/flink/pull/28716#issuecomment-5148803108
Addressed in `18790397c4b` and `820a7c93ab4`. - Managed-memory shutdown now finishes this runner's active `RemoteBundle` before releasing its shared-resource lease, so a non-final lease cannot leave this handler reachable from an active bundle. - Shared-resource/factory teardown now happens before the state handler is gated, covering the final-lease path. - The owned-factory path keeps its factory-first shutdown behavior, and `flush()` is synchronized with any async bundle completion already in progress. - Added deterministic regressions for owned factories plus final and non-final managed-memory leases. Verified with: - `./mvnw -q -pl flink-python -am -Dflink.markBundledAsOptional=false -DskipTests=false -Dtest=BeamStateRequestHandlerTest,BeamPythonFunctionRunnerTest -Dsurefire.failIfNoSpecifiedTests=false -Dfast -Pskip-webui-build -T1 test` - `./mvnw -f flink-python/pom.xml spotless:check` - `./mvnw -f flink-python/pom.xml checkstyle:check` -- 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]
