-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Surface more information for diagnosing shard failures #5957
Comments
Per @timroes in #20767 (comment):
Courier is currently responsible for surfacing this error. Because courier isn't coupled to any particular part of the UI, it has to surface it in a global way, e.g. through toasts or banners. However, this format isn't conducive to long-form content, like stack traces or error messages which require parsing and time to diagnose. I think we have two solutions:
|
#11178 contains steps to produce this error and valuable user feedback. |
From talking with @sherry-ger and @jaijhala, I understand that having access to the ES logs pertinent to the error would really help debugging. This would require the user to have the proper access privileges though. |
Just filed elastic/elasticsearch#16135 because we discoverd a way to cause requests to partially fail reliably, but the user is not told what the actual failures are.
When a response from elasticsearch includes a mixture of shard failures and successes the response is considered successful, but a warning is shown to the user. The warning simply states how many shards failed, but does not allow the user to see why they failed, and the warning is automatically hidden after a timeout.
Instead we should probably allow the user to click "more info", see the different causes for the errors, and prevent the warning from hiding if the user has interacted with it.
The text was updated successfully, but these errors were encountered: