Uploaded image for project: 'Apache Helix'
  1. Apache Helix
  2. HELIX-423

Code duplication in controller leader election

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.7.1, 0.6.4
    • None
    • None

    Description

      There are two (or more) versions of leader election: DistributedLeaderElection, DistClusterControllerElection, and possibly others that I'm missing. This isn't good because if there's any code change required, it's very easy to miss doing it everywhere.

      In particular, this is causing metrics to not be unregistered on leader election because this was fixed in one place and not the other.

      Attachments

        Activity

          People

            kanak Kanak Biscuitwala
            kanak Kanak Biscuitwala
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment