Skip to content

Introduce a stop downsample api #107575

Open
@martijnvg

Description

@martijnvg

Downsampling can take a long time and unfortunately in erroneous situations, downsample operations may get stuck. We should be able to cancel a downsample operation for these cases.

Stopping a downsample operation would include the following steps:

  • Mark a certain downsample operation as cancelled in downsample source index's IndexMetadata.
  • Teach ILM/DSL not to attempt to downsample again for the current interval step that was stopped. ILM/DSL may decide that downsample the next interval step.
  • Remove persistent task.
  • Cancel node task.
  • Remove the downsample target index.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions