Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-7830

Defined leader switch

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Discovery Oak 1.2.22
    • Discovery Oak 1.2.28
    • Discovery
    • None

    Description

      The current leader selection is based on startup time and sling id (mainly) and is stable across changed in the topology for as long as the leader is up and running.
      However there are use cases like blue green deployment where new instances with a new version are started and taking over the functionality. However with the current discovery setup, the leader would still be one of the instances with the old version.
      With a new deployed version, tasks currently bound to the leader should run on the new version.
      Therefore the leader needs to switch and stay the leader (until it dies).

      We probably need an additional criteria for the leader selection

      /cc stefanegli

      Attachments

        Issue Links

          Activity

            People

              stefanegli Stefan Egli
              cziegeler Carsten Ziegeler
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m