wangyang0918 commented on a change in pull request #15524:
URL: https://github.com/apache/flink/pull/15524#discussion_r643775746
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/resourcemanager/ResourceManagerServiceImpl.java
##########
@@ -208,6 +216,10 @@ public void revokeLeadership() {
leaderSessionID);
stopLeaderResourceManager();
+
+ if (!enableMultiLeaderSession) {
+ closeAsync();
Review comment:
Note for myself: Here we will trigger a `FlinkException("Unexpected
termination of ResourceManagerService"` in `DispatcherResourceManagerComponent`
and then force the `ClusterEntrypoint` exited. After then, Yarn and K8s will
launch a new container/pod for the JobManager.
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]