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

Igor Morozov commented on AURORA-1721:
--------------------------------------

In order to support our use case we need to be able either to rollback from 
terminal states or to have some kind of hook to make a decision before entering 
a terminal state which I believe could have been accomplished by using pulsed 
update states.
You didn't like both solutions. I can submit just a rollback part for review 
that we agreed on but that alone will not solve our use case.

Gentlemen, I'm honestly out of options here.

> 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