Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove rollup functionality #112690

Closed
martijnvg opened this issue Sep 10, 2024 · 7 comments
Closed

Remove rollup functionality #112690

martijnvg opened this issue Sep 10, 2024 · 7 comments
Labels
>breaking :StorageEngine/Rollup Turn fine-grained time-based data into coarser-grained data Team:StorageEngine

Comments

@martijnvg
Copy link
Member

Rollup has been deprecated since version 8.11.0 (almost a year ago) en since version 8.15.0 it is no longer possible to create new jobs in cluster without rollup usage. We plan to remove rollup functionality as part of the 9.0 release.

@martijnvg martijnvg added :StorageEngine/Rollup Turn fine-grained time-based data into coarser-grained data >breaking labels Sep 10, 2024
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-storage-engine (Team:StorageEngine)

@thomasneirynck
Copy link
Contributor

@martijnvg

ES-Clusters in 8.x which have rollup indices, would they be able to upgrade to 9.0, or would this upgrade fail?

@martijnvg
Copy link
Member Author

martijnvg commented Sep 10, 2024

ES-Clusters in 8.x which have rollup indices, would they be able to upgrade to 9.0, or would this upgrade fail?

@thomasneirynck No, these clusters would need to migrate to downsampling before upgrading to 9.0.

@lukeelmers
Copy link
Member

these clusters would need to migrate to downsampling before upgrading to 9.0.

@martijnvg Are you saying the existing rollup indices would be deleted, or just that the rollup jobs would fail to run but existing indices would still be accessible? Is ES logging a deprecation when it sees clusters with rollup jobs configured?

@martijnvg
Copy link
Member Author

Are you saying the existing rollup indices would be deleted, or just that the rollup jobs would fail to run but existing indices would still be accessible?

I think we still need to determine this. If we chose to keep the ability to read rollup indices we need to at least keep some of the rollup functionality, but it could make migrating to 9.0 easier.

Is ES logging a deprecation when it sees clusters with rollup jobs configured?

Currently there non deprecation warnings in Elasticsearch. It is deprecated in the docs and from 8.15.0 clusters with no rollup usage can't define new rollup jobs (I believe rollup ui in kibana also was updated to show meaningful warnings/errors).

@thomasneirynck
Copy link
Contributor

@martijnvg

wrt

If we chose to keep the ability to read rollup indices we need to at least keep some of the rollup functionality, but it could make migrating to 9.0 easier

do we know where we can track this discussion?

martijnvg added a commit to martijnvg/elasticsearch that referenced this issue Sep 12, 2024
martijnvg added a commit that referenced this issue Sep 17, 2024
Currently none of the rollup APIs deprecation warning. Only the reference docs indicate that rollup has been deprecated.

Relates to #112690
martijnvg added a commit to martijnvg/elasticsearch that referenced this issue Sep 17, 2024
…ic#112807)

Currently none of the rollup APIs deprecation warning. Only the reference docs indicate that rollup has been deprecated.

Relates to elastic#112690
martijnvg added a commit to martijnvg/elasticsearch that referenced this issue Sep 17, 2024
Backporting elastic#112807 to 8.15 branch.
Currently none of the rollup APIs deprecation warning. Only the reference docs indicate that rollup has been deprecated.

Relates to elastic#112690
elasticsearchmachine pushed a commit that referenced this issue Sep 17, 2024
…#113042)

* [8.15] Emit deprecation warning when executing one of the rollup APIs

Backporting #112807 to 8.15 branch.
Currently none of the rollup APIs deprecation warning. Only the reference docs indicate that rollup has been deprecated.

Relates to #112690

* Fixed compile errors after cherry-picking from main branch.

* fix issue after merging

* added some more allowed warnings
javanna pushed a commit to javanna/elasticsearch that referenced this issue Sep 18, 2024
…ic#112807)

Currently none of the rollup APIs deprecation warning. Only the reference docs indicate that rollup has been deprecated.

Relates to elastic#112690
martijnvg added a commit to martijnvg/elasticsearch that referenced this issue Sep 18, 2024
@martijnvg
Copy link
Member Author

Closing this issue. Rollup functionality will not be removed as part of 9.0 release, but will stay around in deprecated form. The next moment that we will decide to remove rollup will be around the 10.0 release timeline.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>breaking :StorageEngine/Rollup Turn fine-grained time-based data into coarser-grained data Team:StorageEngine
Projects
None yet
Development

No branches or pull requests

4 participants