You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Maxim Khutornenko (JIRA)" <ji...@apache.org> on 2016/07/29 20:55:21 UTC

[jira] [Comment Edited] (AURORA-1721) Support user initiated rollback

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

Maxim Khutornenko edited comment on AURORA-1721 at 7/29/16 8:55 PM:
--------------------------------------------------------------------

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

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. 


was (Author: maximk):
>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)