[ 
https://issues.apache.org/jira/browse/AURORA-1721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15399986#comment-15399986
 ] 

Maxim Khutornenko commented on AURORA-1721:
-------------------------------------------

>1. Limit the scope of a rollback to only job updates in a ROLLING_FORWARD and 
>ROLL_FORWARD_AWAITING_PULSE states.

I actually like this idea. it would be minimally invasive and allow 
user-induced rollbacks while the job state is still locked, hence a rollback is 
totally safe. 

> Support user initiated rollback 
> --------------------------------
>
>                 Key: AURORA-1721
>                 URL: https://issues.apache.org/jira/browse/AURORA-1721
>             Project: Aurora
>          Issue Type: Task
>          Components: Scheduler
>            Reporter: Igor Morozov
>            Assignee: Igor Morozov
>              Labels: Uber
>             Fix For: 0.16.0
>
>
> The proposal to support user initiated rollback:
> 1. Create new thrift API:
>  /**Rollback job update. */
>   Response rollbackJobUpdate(
>       /** The update to rollback. */
>       1: JobUpdateKey key,
>       /** A user-specified message to include with the induced job update 
> state change. */
>       3: string message)
> 2.  Implement new API in a scheduler so the implementation would just undo 
> the latest JobUpdate effectively trying to apply initialState to the job. If 
> that is for some reason is impossible them rollback with fail with 
> appropriate error message.
> 3. Support new aurora client command 'rollback'



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to