Skip to content

Conversation

@tvernum
Copy link
Contributor

@tvernum tvernum commented Feb 28, 2025

TransportFieldCapabilitiesAction.doExecuteForked would resolve the project twice:

  • Once implicitly when resolving indices from cluster state
  • Another time to resolve index blocks

This changes this method to resolve ProjectState once and use that instance for both index resolution and block checking

`TransportFieldCapabilitiesAction.doExecuteForked would resolve the
project twice:
- Once implicitly when resolving indices from cluster state
- Another time to resolve index blocks

This changes this method to resolve `ProjectState` once and use that
instance for both index resolution and block checking
@tvernum tvernum added >non-issue :Search Foundations/Search Catch all for Search Foundations v9.1.0 labels Feb 28, 2025
@tvernum tvernum requested review from a team and ywangd February 28, 2025 00:12
@elasticsearchmachine elasticsearchmachine added the Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch label Feb 28, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-search-foundations (Team:Search Foundations)

Copy link
Member

@ywangd ywangd left a comment

Choose a reason for hiding this comment

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

LGTM

@tvernum tvernum enabled auto-merge (squash) February 28, 2025 00:40
@tvernum tvernum merged commit 2a17df5 into elastic:main Feb 28, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>non-issue :Search Foundations/Search Catch all for Search Foundations Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants