Skip to content

Refactor rollups meta (AKA Rollup V2) #42720

Closed
@polyfractal

Description

@polyfractal

This is a meta issue discussing a complete rewrite of the Elasticsearch rollup codebase with the aim to improve the following points:

  • Drop rollup jobs in favour of integrating rollups with ILM. This means that rolling up an index will work similarly to shrinking an index. The rollup will be done when indexing is complete and the action will rollup the entire index at the same time.
  • Make rollup functionality easier to setup and administer from an operational point of view. For example, allow limited editing of existing rollup configuration (add new metrics etc)
  • Make rollup indices behave much more like regular indices, simplifying querying and management.
  • Improve reliability. Existing rollup jobs are not atomic and sometimes fail midway, leaving rollup indices that are not complete. We should make the rollup computation atomic.
  • Improve performance of rollup jobs. Some large-scale use cases can run into bottlenecks where the search phase of rollup is not fast enough (due to limited thread involvement across cluster).
  • Implement support for pre-aggregated data structures to enable cardinality, percentiles [Rollup] Support for data-structure based metrics (Cardinality, Percentiles, etc) #33214

Below we outline a high level plan of changes that will help us achieve the above goals:

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions