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

Dry run migration failure report #57313

Closed
rudolf opened this issue Feb 11, 2020 · 2 comments
Closed

Dry run migration failure report #57313

rudolf opened this issue Feb 11, 2020 · 2 comments
Assignees
Labels
blocked Feature:Saved Objects Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc

Comments

@rudolf
Copy link
Contributor

rudolf commented Feb 11, 2020

If a dry-run migration (#55404) fails, generate a migration report to make it easy to create a support request:
1. The report would be a NDJSON export of all failed objects.
2. If support receives such a report, we could modify all the objects to ensure the migration would pass and send this back to the client.
3. The client can then import the updated objects using the standard Saved Objects NDJSON import and run another dry run to verify all problems have been fixed.

Part of #52202

@rudolf rudolf added Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc Feature:Saved Objects labels Feb 11, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-platform (Team:Platform)

@rudolf rudolf added this to Prioritized Backlog in kibana-core [DEPRECATED] Feb 11, 2020
@joshdover joshdover moved this from Prioritized Backlog to 7.7 in kibana-core [DEPRECATED] Mar 2, 2020
@rudolf rudolf added the blocked label Mar 10, 2020
@rudolf rudolf moved this from 7.7 to 7.8 in kibana-core [DEPRECATED] Mar 10, 2020
@joshdover joshdover moved this from 7.8 to 7.9 - Tentative in kibana-core [DEPRECATED] Apr 21, 2020
@joshdover joshdover moved this from 7.9 - Tentative to Icebox in kibana-core [DEPRECATED] Apr 30, 2020
@rudolf
Copy link
Contributor Author

rudolf commented Sep 7, 2021

In our experience, corrupt saved objects have always been created through writing directly to the .kibana index instead of using the saved objects API. And in all the support cases, these corrupt documents were part of testing so the best resolution was to delete them instead of trying to fix them.

@rudolf rudolf closed this as completed Sep 7, 2021
kibana-core [DEPRECATED] automation moved this from Icebox to Done (7.13) Sep 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Feature:Saved Objects Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
Projects
Development

No branches or pull requests

2 participants