Skip to content

[ML] Allow force delete for a data frame transform #43961

@sophiec20

Description

@sophiec20

Found in 7.3.0-SNAPSHOT 03-Jul-2019

In order to delete a failed transform, the user must first _stop?force it and then DELETE.

This is a theoretical two step process but in reality they will probably try DELETE and see a failure, then _stop and see a failure, then _stop?force and then the final DELETE.

We should allow the user to delete a failed transform without directing them through this convoluted path. By having a force-delete, we can force-stop in the background thus removing the persistent task and then delete the data frame transform.

This can be used by the UI in order to delete failed transforms.

For the context of the UI experience, note that the error in the transform (the reason for the failure) should be visible in the messages tab in the UI and therefore we do not need to also show it to the user when they are trying to delete it. UI ref elastic/kibana#40298

Metadata

Metadata

Assignees

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