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

[7.x] Avoid redundant available indices check (#76540) #79513

Merged
merged 3 commits into from
Oct 20, 2021

Conversation

albertzaharovits
Copy link
Contributor

Backports the following commits to 7.x:

The resolved indices list contains name elements that either:

    are concrete names that been explicitly mentioned in the original request, or
    are authorized indices that are referred to by a date math expression from the request, or
    are authorized indices that are covered by a wildcard from the request

If the request option ignoredUnavailable is set to true the resolved indices list overall
must silently ignore the names that are not in the authorized set.
Consequently, only the names in the first category mentioned above must be verified;
the check for the other names is redundant.
@albertzaharovits
Copy link
Contributor Author

@elasticmachine update branch

@albertzaharovits
Copy link
Contributor Author

@elasticmachine update branch

@albertzaharovits albertzaharovits merged commit ec81466 into elastic:7.x Oct 20, 2021
@albertzaharovits albertzaharovits deleted the backport/7.x/pr-76540 branch October 20, 2021 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Automatically create backport pull requests when merged backport v7.16.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants