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

Prevent types deprecation warning for indices.exists requests #43963

Merged

Conversation

cbuescher
Copy link
Member

Currently we log a deprecation warning to the types removal in
RestGetIndicesAction even if the REST method is HEAD, which is used by the
indices.exists API. Since the body is empty in this case we should not show
the deprecation warning.

Closes #43905

Currently we log a deprecation warning to the types removal in
RestGetIndicesAction even if the REST method is HEAD, which is used by the
indices.exists API. Since the body is empty in this case we should not need to
show the deprecation warning.

Closes elastic#43905
@cbuescher cbuescher added >bug :Search Foundations/Mapping Index mappings, including merging and defining field types v8.0.0 v7.3.0 v6.8.2 v7.2.1 v7.4.0 labels Jul 4, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search

@cbuescher
Copy link
Member Author

@elasticmachine run elasticsearch-ci/2

1 similar comment
@cbuescher
Copy link
Member Author

@elasticmachine run elasticsearch-ci/2

Copy link
Contributor

@jtibshirani jtibshirani left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@cbuescher cbuescher merged commit a19551a into elastic:master Jul 4, 2019
@cbuescher
Copy link
Member Author

@jtibshirani thanks, will backport to the active 7.x branches and 6.8 where I think its mostly needed

cbuescher pushed a commit that referenced this pull request Jul 4, 2019
Currently we log a deprecation warning to the types removal in
RestGetIndicesAction even if the REST method is HEAD, which is used by the
indices.exists API. Since the body is empty in this case we should not need to
show the deprecation warning.

Closes #43905
cbuescher pushed a commit that referenced this pull request Jul 4, 2019
Currently we log a deprecation warning to the types removal in
RestGetIndicesAction even if the REST method is HEAD, which is used by the
indices.exists API. Since the body is empty in this case we should not need to
show the deprecation warning.

Closes #43905
cbuescher pushed a commit that referenced this pull request Jul 4, 2019
Currently we log a deprecation warning to the types removal in
RestGetIndicesAction even if the REST method is HEAD, which is used by the
indices.exists API. Since the body is empty in this case we should not need to
show the deprecation warning.

Closes #43905
cbuescher pushed a commit to cbuescher/elasticsearch that referenced this pull request Jul 4, 2019
…c#43963)

Currently we log a deprecation warning to the types removal in
RestGetIndicesAction even if the REST method is HEAD, which is used by the
indices.exists API. Since the body is empty in this case we should not need to
show the deprecation warning.

Closes elastic#43905
cbuescher pushed a commit that referenced this pull request Jul 4, 2019
Currently we log a deprecation warning to the types removal in
RestGetIndicesAction even if the REST method is HEAD, which is used by the
indices.exists API. Since the body is empty in this case we should not need to
show the deprecation warning.

Closes #43905
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Indices Exists API missing include_type_name in REST API spec
4 participants