-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Remove the Health Check #14163
Labels
high hanging fruit
Meta
stale
Used to mark issues that were closed for being stale
Team:Core
Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
Comments
spalger
added
Team:Core
Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
Meta
labels
Sep 26, 2017
spalger
added a commit
to spalger/kibana
that referenced
this issue
Sep 26, 2017
A part of elastic#14163, this removes the portion of the healthCheck that tries to verify that rest.action.multi.allow_explicit_index is not set to false. Instead, a ui module was created that will check errors from elasticsearch for this specific scenario, and exposes a method that will display a nicer "fatal error" screen that informs the user about what they should do, and navigates away from the now broken app.
Updated the description to reflect change of plans RE |
spalger
added a commit
that referenced
this issue
Oct 4, 2017
…14184) * [errors/multi.allow_explicit_index] move error handling to browser A part of #14163, this removes the portion of the healthCheck that tries to verify that rest.action.multi.allow_explicit_index is not set to false. Instead, a ui module was created that will check errors from elasticsearch for this specific scenario, and exposes a method that will display a nicer "fatal error" screen that informs the user about what they should do, and navigates away from the now broken app. * [es/healthCheck] remove old test * fix typo
spalger
added a commit
that referenced
this issue
Oct 4, 2017
…14184) * [errors/multi.allow_explicit_index] move error handling to browser A part of #14163, this removes the portion of the healthCheck that tries to verify that rest.action.multi.allow_explicit_index is not set to false. Instead, a ui module was created that will check errors from elasticsearch for this specific scenario, and exposes a method that will display a nicer "fatal error" screen that informs the user about what they should do, and navigates away from the now broken app. * [es/healthCheck] remove old test * fix typo (cherry picked from commit 2b7808b)
chrisronline
pushed a commit
to chrisronline/kibana
that referenced
this issue
Nov 20, 2017
…lastic#14184) * [errors/multi.allow_explicit_index] move error handling to browser A part of elastic#14163, this removes the portion of the healthCheck that tries to verify that rest.action.multi.allow_explicit_index is not set to false. Instead, a ui module was created that will check errors from elasticsearch for this specific scenario, and exposes a method that will display a nicer "fatal error" screen that informs the user about what they should do, and navigates away from the now broken app. * [es/healthCheck] remove old test * fix typo
chrisronline
pushed a commit
to chrisronline/kibana
that referenced
this issue
Dec 1, 2017
…lastic#14184) * [errors/multi.allow_explicit_index] move error handling to browser A part of elastic#14163, this removes the portion of the healthCheck that tries to verify that rest.action.multi.allow_explicit_index is not set to false. Instead, a ui module was created that will check errors from elasticsearch for this specific scenario, and exposes a method that will display a nicer "fatal error" screen that informs the user about what they should do, and navigates away from the now broken app. * [es/healthCheck] remove old test * fix typo
#16733 (comment) has a nice writeup on memory issues this is causing with ES. |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
high hanging fruit
Meta
stale
Used to mark issues that were closed for being stale
Team:Core
Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
The platform & operations teams have been bouncing around the idea that Kibana really shouldn't be relying on a polling health check for a long time (years?) and we've had some more serious discussions about it recently that I wanted to catalog.
why did we create a health check?
what does the health check do?
the core logic is defined here, but to summarize:
rest.action.multi.allow_explicit_index=false
setwhat's wrong with the health check?
how might we remove it?
This part is totally up for debate and much of this is pretty freshly discussed. All of these steps are also likely to surface bugs in the way we handle errors across the board. Based on our conversations today I think the plan could go something like this:
rest.action.multi.allow_explicit_index=false
in the browserrest.action.multi.allow_explicit_index=false
from health checkupdate
api for uiSettings writesundefined
: availability is unknown or in the process of being determinedtrue/false
: es seems to be available/unavailableesAvailability.requestCheck()
to signal that availability should be checkedplugin.init()
elasticsearch.healthCheck.delay
)true/false
true
process request as normalfalse
reject withBoom.serverUnavailable()
without sending request to elasticsearchBoom.serverUnavailable()
from request interceptor)The text was updated successfully, but these errors were encountered: