azure-cli icon indicating copy to clipboard operation
azure-cli copied to clipboard

Ability to delete/cancel faulted state jobs

Open KatteKwaad opened this issue 2 years ago • 1 comments

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.

KatteKwaad avatar Feb 23 '24 19:02 KatteKwaad

Thank you for opening this issue, we will look into it.

yonzhan avatar Feb 23 '24 19:02 yonzhan