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

[plugin/apm-data] Lifecycle for APM-Server datastreams switches to Unmanaged on upgrade #112137

Open
lahsivjar opened this issue Aug 23, 2024 · 1 comment · May be fixed by #112759
Open

[plugin/apm-data] Lifecycle for APM-Server datastreams switches to Unmanaged on upgrade #112137

lahsivjar opened this issue Aug 23, 2024 · 1 comment · May be fixed by #112759
Assignees
Labels
>bug :Data Management/Data streams Data streams and their lifecycles Team:Data Management Meta label for data/management team

Comments

@lahsivjar
Copy link
Contributor

Elasticsearch Version

main (> v8.15.1)

Installed Plugins

No response

Java Version

bundled

OS Version

All

Problem Description

APM-Server (serverless is not impacted) switched from Index Lifecycle Management(ILM) to Datastream Lifecycle (DSL) in v8.15.0. This switch was done when we moved from APM integration (which used ILM) to APM-data plugin (which uses DSL) in ES for managing APM datastreams. As a result of the switch, any old datastreams created before the switch would be Unmanaged because the datastream will never be updated with the DSL lifecycle -- this has to be done manually by using the PUT API.

To fix this, v8.15.1 has a patch to fallback to ILM if DSL is not defined. However, this patch needed to be reverted in main due to ILM not being supported for serverless offering.

Steps to Reproduce

  1. Create a cluster with APM integration installed for versions before v8.15.0
  2. Send some data to APM
  3. Update the cluster to main
  4. Send some more data to APM
  5. Perform a rollover
  6. Observe that the latest index in the datastream is Unmanaged

Logs (if relevant)

No response

@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Data Management/Data streams Data streams and their lifecycles Team:Data Management Meta label for data/management team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants