Skip to content

Pass through index aliases when checking if index closed#941

Open
tienne-B wants to merge 2 commits intoopensearch-project:mainfrom
tienne-B:is-closed-alias
Open

Pass through index aliases when checking if index closed#941
tienne-B wants to merge 2 commits intoopensearch-project:mainfrom
tienne-B:is-closed-alias

Conversation

@tienne-B
Copy link
Copy Markdown
Contributor

Description

This PR is a continuation on #823 which allows for indexes to be saved through an alias. However, if there are any analyzers, the procedure will fail during the check to see if the index is closed, as it checks for the status of the alias rather than the index name which the response uses.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Étienne Beaulé <etienne@dashsocial.com>
Signed-off-by: Étienne Beaulé <etienne@dashsocial.com>
@florianvazelle
Copy link
Copy Markdown
Collaborator

Hi @tienne-B, thank you for your PR. The changes are short, so it seems fine, but it's hard for me to see the real impact of these changes. Is there a manual test I could run to test them, or a unit test that could be added ?

@saimedhi
Copy link
Copy Markdown
Collaborator

@tienne-B , thank you for the contributions. Please consider adding tests and completing the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants