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

[7.7] Handle exceptions when building _cat/indices response #57147

Conversation

danhermann
Copy link
Contributor

The root cause of this bug was an unhandled exception in the onResponse method for the _cat/indices endpoint that resulted in completion of neither the response nor failure methods of the REST handler. Adding a try-catch around the code in the onResponse method resolves this specific problem.

Backport of #56993

@elasticmachine
Copy link
Collaborator

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

@elasticmachine elasticmachine added the Team:Data Management Meta label for data/management team label May 26, 2020
@danhermann danhermann merged commit 03a0dc7 into elastic:7.7 May 26, 2020
@danhermann danhermann deleted the backport_77_56993_handle_cat_indices_exception branch May 26, 2020 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport >bug :Data Management/CAT APIs Text APIs behind /_cat Team:Data Management Meta label for data/management team v7.7.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants