-
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
[meta] Better handling of the most common migration issues #129016
Comments
Pinging @elastic/kibana-core (Team:Core) |
Do we want to build on what we already have for the actions/es_errors or implement something entirely new? As for the code ranges, assuming the errors would fall in the 5xx, we could add a generic OTOH, we'll probably run out of integers as we start reporting individual elasticsearch API errors. @pgayvallet @rudolf If there's already a documented strategy for the error codes, please let me know! |
I don't think we should be using the SO service errors for SO migrations. SO errors are errors that are meant to be surfaced to the client via http transport, and therefor are directly bound to a specific http error code and structure. For SO migration failures, the only thing we need ihmo is a unique error identifier that will be surfaced in the logs and can be used to search, or link to, the error in our documentation. I was naively thinking of something like
e.g
or
The |
@pgayvallet Just started looking into this. Historically ES avoided using error codes and I think it makes sense for Kibana to adopt their philosophy as well. I understand error codes might be easier to document however searching specific error strings on google is a lot easier and gives more relevant results. It also becomes another thing we need to maintain on the long run that we can avoid completely. Update: Reflecting our discussion during the team sync: |
Closing as all the individual issues have been addressed |
Our most common migration failure causes could highly benefit from better identification and documentation.
This is a meta issue to list and track the process of each individual failures.
For each failure, we want to:
In any case:
When the failure's cause can be predetermined:
Note: ideally, these changes would be backported to the
7.17
branch to ease the migration experience from7.last
to8+
Individual issues:
The text was updated successfully, but these errors were encountered: