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 remove alias with must_exist #65141

Conversation

henningandersen
Copy link
Contributor

Remove alias now parses the must_exist flag and results in a 404
(not found), if the index does not have the alias.

Closes #62642
Relates #58100

Co-Authored-By: Luca Cavanna [email protected]

Remove alias now parses the must_exist flag and results in a 404
(not found), if the index does not have the alias.

Closes elastic#62642
Relates elastic#58100

Co-Authored-By: Luca Cavanna <[email protected]>
@henningandersen henningandersen added >bug :Data Management/Indices APIs APIs to create and manage indices and templates v8.0.0 v7.11.0 labels Nov 17, 2020
@elasticmachine elasticmachine added the Team:Data Management Meta label for data/management team label Nov 17, 2020
@elasticmachine
Copy link
Collaborator

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

Copy link
Member

@javanna javanna left a comment

Choose a reason for hiding this comment

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

LGTM thanks @henningandersen !!

@henningandersen
Copy link
Contributor Author

@elasticmachine update branch

@henningandersen
Copy link
Contributor Author

Failure looks similar to #65048

@elasticmachine run elasticsearch-ci/2

@henningandersen henningandersen merged commit 67e1128 into elastic:master Nov 18, 2020
henningandersen added a commit to henningandersen/elasticsearch that referenced this pull request Nov 18, 2020
Remove alias now parses the must_exist flag and results in a 404
(not found), if the index does not have the alias.

Closes elastic#62642
Relates elastic#58100

Co-Authored-By: Luca Cavanna <[email protected]>
henningandersen added a commit to henningandersen/elasticsearch that referenced this pull request Nov 18, 2020
henningandersen added a commit that referenced this pull request Nov 18, 2020
Remove alias now parses the must_exist flag and results in a 404
(not found), if the index does not have the alias.

Closes #62642
Relates #58100

Co-Authored-By: Luca Cavanna <[email protected]>
henningandersen added a commit that referenced this pull request Nov 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Data Management/Indices APIs APIs to create and manage indices and templates Team:Data Management Meta label for data/management team v7.11.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove Alias must_exist field is unknown
4 participants