Skip to content

Ability to delete/cancel faulted state jobs #28449

Description

@KatteKwaad

Related command
az cosmosdb copy

Is your feature request related to a problem? Please describe.
Running az cosmosdb copy will result in faulted-state jobs when there are any issues. There is currently now way to rerun or fix/debug a faulted state job without having to create a new one. This is counter-intuitive to working with scripts in this context

Describe the solution you'd like
I would like to be able to rerun or delete jobs that have been in a faulted state

Describe alternatives you've considered
There are currently no alternatives

Additional context
any form of interaction with a faulted state job results in a bad request:
(BadRequest) Cannot cancel job in 'Faulted' state.
ActivityId: 72fa9be7-d284-11ee-a168-002248b3117c, Microsoft.Azure.Documents.Common/2.14.0
Code: BadRequest
Message: Cannot cancel job in 'Faulted' state.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions