tillrohrmann commented on a change in pull request #13055:
URL: https://github.com/apache/flink/pull/13055#discussion_r616501354
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/leaderretrieval/ZooKeeperLeaderRetrievalService.java
##########
@@ -193,14 +185,20 @@ protected void handleStateChange(ConnectionState
newState) {
break;
case SUSPENDED:
LOG.warn("Connection to ZooKeeper suspended.
Can no longer retrieve the leader from " +
- "ZooKeeper.");
+ "ZooKeeper.");
+ synchronized (lock) {
+ notifyLeaderLoss();
Review comment:
I think we trigger an explicit
`ZooKeeperLeaderRetrievalDriver.retrieveLeaderInformationFromZooKeeper` after
we reconnect. Do you think that this won't be enough?
--
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]