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.
|Field||Original Value||New Value|
|Summary||Scheduled task should only run on leader||Add support for running scheduled task only on the leader|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Resolution||Fixed [ 1 ]|
|Summary||Add support for running scheduled task only on the leader||Add support for running scheduled task on specific instances|
|Status||Resolved [ 5 ]||Closed [ 6 ]|