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

Propagate original indices in NodeTermsEnumRequest #77776

Merged
merged 3 commits into from
Oct 6, 2021

Conversation

jimczi
Copy link
Contributor

@jimczi jimczi commented Sep 15, 2021

This fix ensures that we provide the original list of indices
as part of the node-level terms enum request.

Closes #77508

This fix ensures that we provide the original list of indices
as part of the node-level terms enum request.

Closes elastic#77508
@jimczi jimczi added :Search/Search Search-related issues that do not fall into other categories >bug v7.15.1 v7.16.0 labels Sep 15, 2021
@elasticmachine elasticmachine added the Team:Search Meta label for search team label Sep 15, 2021
@elasticmachine
Copy link
Collaborator

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

Copy link
Contributor

@markharwood markharwood left a comment

Choose a reason for hiding this comment

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

LGTM - the only question I have is whether the rest tests cover the expected behaviour for the various combinations of security on aliases and underlying indices. E.g.

  1. Security granted to alias with no conditions on underlying indices
  2. Security granted to alias with mixed conditions also defined on underlying indices

I think we agreed it was OK for terms_enum to ignore any filters associated with aliases.

Copy link
Contributor

@markharwood markharwood left a comment

Choose a reason for hiding this comment

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

LGTM

@jimczi jimczi merged commit 3651dbc into elastic:master Oct 6, 2021
@jimczi jimczi deleted the node_terms_enum_original branch October 6, 2021 08:46
jimczi added a commit to jimczi/elasticsearch that referenced this pull request Oct 6, 2021
This fix ensures that we provide the original list of indices
as part of the node-level terms enum request.

Closes elastic#77508
jimczi added a commit that referenced this pull request Oct 6, 2021
This fix ensures that we provide the original list of indices
as part of the node-level terms enum request.

Closes #77508
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Search/Search Search-related issues that do not fall into other categories Team:Search Meta label for search team v7.15.1 v7.16.0 v8.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

_terms_enum not supporting fields by alias for non-super user
5 participants