Skip to content

Conversation

@original-brownbear
Copy link
Contributor

We don't need a list here, since we're not escaping it might as well use an array outright and get faster iteration.
Also, the hot lookup on the FeatureFlag won't compile away. There's no point in the indirection functionally, might as well use the boolean outright and compile better with a trusted constant.

We don't need a list here, since we're not escaping it might as well use an array
outright and get faster iteration.
Also, the hot lookup on the FeatureFlag won't compile away. There's no point in the indirection
functionally, might as well use the boolean outright and compile better with a trusted constant.
@original-brownbear original-brownbear added >non-issue :Data Management/Indices APIs APIs to create and manage indices and templates labels Nov 20, 2024
@elasticsearchmachine elasticsearchmachine added v9.0.0 Team:Data Management Meta label for data/management team labels Nov 20, 2024
@elasticsearchmachine
Copy link
Collaborator

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

@original-brownbear
Copy link
Contributor Author

@elasticmachine update branch

Copy link
Contributor

@nielsbauman nielsbauman left a comment

Choose a reason for hiding this comment

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

LGTM, but I'm requesting a review from @jbaiera to double-check the feature flag changes as he's been in contact with Core Infra a few times about them.
Thanks @original-brownbear!

@nielsbauman nielsbauman requested a review from jbaiera November 21, 2024 09:31
@jbaiera
Copy link
Member

jbaiera commented Dec 10, 2024

Sorry for the late response on this - These changes look alright to me, though we've had a pretty sizable refactoring done to the index name expression resolver since this was opened. I'm +1 to the simplifying of the feature flag. I imagine the other parts of this PR may need a small update.

@jbaiera
Copy link
Member

jbaiera commented May 8, 2025

Closing because the feature flag is now gone and the other code refactorings are not applicable anymore after previous refactorings

@jbaiera jbaiera closed this May 8, 2025
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.

5 participants