Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-2914

Missing break in ZooKeeperSubmittedJobGraphStore#SubmittedJobGraphsPathCacheListener#childEvent()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.0.0
    • None
    • None

    Description

              case CONNECTION_SUSPENDED:
                LOG.warn("ZooKeeper connection SUSPENDED. Changes to the submitted job " +
                    "graphs are not monitored (temporarily).");
      
              case CONNECTION_LOST:
                LOG.warn("ZooKeeper connection LOST. Changes to the submitted job " +
                    "graphs are not monitored (permanently).");
                break;
      
              case CONNECTION_RECONNECTED:
                LOG.info("ZooKeeper connection RECONNECTED. Changes to the submitted job " +
                    "graphs are monitored again.");
      
              case INITIALIZED:
                LOG.info("SubmittedJobGraphsPathCacheListener initialized");
                break;
      

      For CONNECTION_SUSPENDED and CONNECTION_RECONNECTED, the break statement is missing.
      This would result in unrelated event logging.

      Attachments

        Activity

          People

            chesnay Chesnay Schepler
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: