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

LeaderContender implementations handle invalid state

    XMLWordPrintableJSON

Details

    • Technical Debt
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Runtime / Coordination
    • None

    Description

      Currently, LeaderContender implementations (e.g. see ResourceManagerServiceImplTest#grantLeadership_withExistingLeader_waitTerminationOfExistingLeader) allow the handling of leader events of the same type happening after each other which shouldn't be the case.

      Two subsequent leadership grants indicate that the leading instance which received the leadership grant again missed the leadership revocation event causing an invalid state of the overall deployment (i.e. split brain scenario). We should fail fatally in these scenarios rather than handling them.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: