Skip to content

[Rollup] Add ability to delete rollup data #31347

Closed as not planned
Closed as not planned
@polyfractal

Description

@polyfractal

Deleting rollup data (as opposed to the rollup job) is done manually today. If there is only a single job per rollup index, this is an easy process: just delete the index.

But if multiple jobs share a single index, the user needs to execute a Delete-By-Query against the job name to purge the relevant rollup docs. Theoretically, the should also update the _meta of the index to remove the job config, so that the job name can be reused.

This was documented in #31299, but it's really too much to ask users to do.

Our DeleteJob API should either have a flag to also delete the data, or a separate endpoint should be added which is dedicated to purging rollup data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    :StorageEngine/RollupTurn fine-grained time-based data into coarser-grained data>enhancementTeam:AnalyticsMeta label for analytical engine team (ESQL/Aggs/Geo)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions