Skip to content

Conversation

@original-brownbear
Copy link
Contributor

Very often there are no aliases, no need to create a bunch of objects in this case.
Also, no need to build an intermediary candidate list either.
Plus the nested streams do get very costly when running this logic over a large number
of indices.

Lots of dead code accumulated here cleaning it up.
…ral)

Very often there are no aliases, no need to create a bunch of objects in this case.
Also, no need to build an intermediary candidate list either.
Plus the nested streams do get very costly when running this logic over a large number
of indices.
@original-brownbear original-brownbear added >non-issue :Data Management/Indices APIs APIs to create and manage indices and templates labels Apr 23, 2025
@original-brownbear
Copy link
Contributor Author

This gets very short once #127227 is merged

@elasticsearchmachine elasticsearchmachine added v9.1.0 Team:Data Management Meta label for data/management team labels Apr 23, 2025
@elasticsearchmachine
Copy link
Collaborator

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

Copy link
Contributor

@ChrisHegarty ChrisHegarty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@original-brownbear
Copy link
Contributor Author

Thanks Chris!

@original-brownbear original-brownbear merged commit f05ab9b into elastic:main Apr 23, 2025
16 of 17 checks passed
@original-brownbear original-brownbear deleted the speedup-resolving-aliases branch April 23, 2025 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Data Management/Indices APIs APIs to create and manage indices and templates >non-issue Team:Data Management Meta label for data/management team v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants