aurora-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cody Gibb (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AURORA-1900) Add RPC for rolling restarts
Date Tue, 07 Mar 2017 19:15:38 GMT
Cody Gibb created AURORA-1900:
---------------------------------

             Summary: Add RPC for rolling restarts
                 Key: AURORA-1900
                 URL: https://issues.apache.org/jira/browse/AURORA-1900
             Project: Aurora
          Issue Type: Task
            Reporter: Cody Gibb
            Assignee: Cody Gibb


Currently, there are two options to execute a rolling restart, however both are undesirable
— either use the restartShards endpoint and implement batching client-side, or use startJobUpdate
with slightly modified task config so that a non-empty job diff forces an update. I propose
adding a new thrift RPC for launching a rolling restart, which is an interface around the
existing upgrade logic. Instead of requiring a TaskConfig and instanceCount, this restart
endpoint will only accept JobUpdateSettings and will simply launch an update with the currently
used task configuration. All of the existing job update RPCs will still be able to access
updates which were launched from this restart endpoint. This ensures restarts are available
in the UI and no additional storage changes are required.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message