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

Add support for running scheduled task on specific instances

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Commons Scheduler 2.4.0
    • Component/s: Commons
    • Labels:
      None

      Description

      With the new topology api we have support for leader election. In many cases scheduled tasks should only run on a single instance in a cluster. So far this can only be done by manually adding the task through the Scheduler interface but not with the whiteboard support.
      We should add a new property scheduler.leaderonly which defaults to false but can be set to true. IN this case the task is only started on the leader.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cziegeler Carsten Ziegeler
                Reporter:
                cziegeler Carsten Ziegeler
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: