zentol commented on a change in pull request #11338: [FLINK-10052][ha] Tolerate 
temporarily suspended ZooKeeper connections
URL: https://github.com/apache/flink/pull/11338#discussion_r390907604
 
 

 ##########
 File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/leaderelection/ZooKeeperLeaderElectionService.java
 ##########
 @@ -411,8 +411,7 @@ protected void handleStateChange(ConnectionState newState) 
{
                                LOG.debug("Connected to ZooKeeper quorum. 
Leader election can start.");
                                break;
                        case SUSPENDED:
-                               LOG.warn("Connection to ZooKeeper suspended. 
The contender " + leaderContender.getDescription()
-                                       + " no longer participates in the 
leader election.");
+                               LOG.warn("Connection to ZooKeeper suspended, 
waiting for reconnection.");
 
 Review comment:
   this isn't necessarily true, is it?

----------------------------------------------------------------
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]


With regards,
Apache Git Services

Reply via email to