flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-3809) Missing break in ZooKeeperLeaderRetrievalService#handleStateChange()
Date Mon, 25 Apr 2016 16:36:12 GMT
Ted Yu created FLINK-3809:

             Summary: Missing break in ZooKeeperLeaderRetrievalService#handleStateChange()
                 Key: FLINK-3809
                 URL: https://issues.apache.org/jira/browse/FLINK-3809
             Project: Flink
          Issue Type: Bug
            Reporter: Ted Yu

  protected void handleStateChange(ConnectionState newState) {
    switch (newState) {
      case CONNECTED:
        LOG.debug("Connected to ZooKeeper quorum. Leader retrieval can start.");
      case SUSPENDED:
        LOG.warn("Connection to ZooKeeper suspended. Can no longer retrieve the leader from
" +
      case RECONNECTED:
        LOG.info("Connection to ZooKeeper was reconnected. Leader retrieval can be restarted.");
      case LOST:
        LOG.warn("Connection to ZooKeeper lost. Can no longer retrieve the leader from " +
Except for LOST state, the other states would lead to multiple logs.

This message was sent by Atlassian JIRA

View raw message