add restartInstances with sla requirements

This commit is contained in:
lenhattan86 2021-06-07 15:37:27 -07:00
parent 2d81147aaa
commit 63e466ac0d
8 changed files with 1689 additions and 1132 deletions

View file

@ -1163,6 +1163,9 @@ service AuroraSchedulerManager extends ReadOnlyScheduler {
/** Restarts a batch of shards. */
Response restartShards(5: JobKey job, 3: set<i32> shardIds)
/** Restarts a batch of shards if sla requirement is satisfied. */
Response slaRestartShards(5: JobKey job, 3: set<i32> shardIds, 2: SlaPolicy slaPolicy)
/** Initiates a kill on tasks. */
Response killTasks(4: JobKey job, 5: set<i32> instances, 6: string message)