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

Fix Get Alias API handling of hidden indices with visible aliases #53147

Merged
merged 5 commits into from
Mar 7, 2020

Conversation

gwbrown
Copy link
Contributor

@gwbrown gwbrown commented Mar 5, 2020

This commit changes the Get Aliases API to include hidden indices by
default - this is slightly different from other APIs, but is necessary
to make this API work intuitively.

Relates to elastic/kibana#58722 (comment)


Labelled non-issue as hidden aliases have not yet shipped, so this bug isn't relevant to the release notes.

This commit changes the Get Aliases API to include hidden indices by
default - this is slightly different from other APIs, but is necessary
to make this API work intuitively.
@gwbrown gwbrown added >non-issue :Data Management/Indices APIs APIs to create and manage indices and templates v8.0.0 v7.7.0 labels Mar 5, 2020
@gwbrown gwbrown requested a review from jaymode March 5, 2020 02:25
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features (:Core/Features/Indices APIs)

Copy link
Member

@jaymode jaymode left a comment

Choose a reason for hiding this comment

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

LGTM

Comment on lines 413 to 414
* @return indices option that requires every specified index to exist, expands wildcards to both open and closed indices, and includes
* hidden indices and allows that no indices are resolved from wildcard expressions (not returning an error).
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
* @return indices option that requires every specified index to exist, expands wildcards to both open and closed indices, and includes
* hidden indices and allows that no indices are resolved from wildcard expressions (not returning an error).
* @return indices option that requires every specified index to exist, expands wildcards to both open and closed indices, includes
* hidden indices, and allows that no indices are resolved from wildcard expressions (not returning an error).

@gwbrown gwbrown merged commit 69cddcb into elastic:master Mar 7, 2020
gwbrown added a commit to gwbrown/elasticsearch that referenced this pull request Mar 7, 2020
…astic#53147)

This commit changes the Get Aliases API to include hidden indices by
default - this is slightly different from other APIs, but is necessary
to make this API work intuitively.
gwbrown added a commit that referenced this pull request Mar 9, 2020
…3147)

This commit changes the Get Aliases API to include hidden indices by
default - this is slightly different from other APIs, but is necessary
to make this API work intuitively.
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 v7.7.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants