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

Make LIFECYCLE_NAME_SETTING a Field in IndexMetadata #83582

Closed
Tracked by #77466
original-brownbear opened this issue Feb 7, 2022 · 1 comment · Fixed by #83603
Closed
Tracked by #77466

Make LIFECYCLE_NAME_SETTING a Field in IndexMetadata #83582

original-brownbear opened this issue Feb 7, 2022 · 1 comment · Fixed by #83603
Assignees
Labels
:Data Management/ILM+SLM Index and Snapshot lifecycle management >enhancement Team:Data Management Meta label for data/management team

Comments

@original-brownbear
Copy link
Member

Just like we did previously in e.g. #78672 we can make the string in LIFECYCLE_NAME_SETTING a field in Indexmetadata so we don't have to look it up for every index on every cluster state update in the lifecycle service.

This setting alone currently takes almost 1% of the overall master runtime (and more than that in terms of wall-time I would assume) when creating the initial indices set during many-shards benchmarking:

image

relates #77466

@original-brownbear original-brownbear added >enhancement :Data Management/ILM+SLM Index and Snapshot lifecycle management labels Feb 7, 2022
@elasticmachine elasticmachine added the Team:Data Management Meta label for data/management team label Feb 7, 2022
@elasticmachine
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
:Data Management/ILM+SLM Index and Snapshot lifecycle management >enhancement Team:Data Management Meta label for data/management team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants