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

ZooKeeperLeaderRetrievalService does not invalidate leader in case of SUSPENDED connection

    XMLWordPrintableJSON

Details

    Description

      The ZooKeeperLeaderRetrievalService does not invalidate the leader if the ZooKeeper connection gets SUSPENDED. This means that a TaskManager won't cancel its running tasks even though it might miss a leader change. I think we should at least make it configurable whether in such a situation the leader listener should be informed about the lost leadership. Otherwise, we might run into the situation where an old and a newly recovered instance of a Task can run at the same time.

      Attachments

        Issue Links

          Activity

            People

              mapohl Matthias Pohl
              trohrmann Till Rohrmann
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: