Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-32503 FLIP-285 technical debt
  3. FLINK-32422

EmbeddedLeaderService doesn't handle the leader events properly in edge cases

    XMLWordPrintableJSON

Details

    Description

      The leadership is granted when registering the first contender. This sets the leadership flag within the EmbeddedLeaderService (see EmbeddedLeaderService:312ff: the grantLeadershipCall is triggered afterwards informing the contender about its leadership). In the meantime, close can be called on the contender which deregisters the contender again calling revoke on the contender without having been able to gain the leadership.

      This issue was introduced by FLINK-30765.

      Attachments

        Issue Links

          Activity

            People

              mapohl Matthias Pohl
              mapohl Matthias Pohl
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: