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

Allow migrator to run a reindex script when converting an index to an alias #41815

Merged
merged 3 commits into from
Jul 24, 2019

Conversation

mikecote
Copy link
Contributor

This PR allows to run a script when the migrator is converting an index to an alias (example when converting .kibana_task_manager to .kibana_task_manager_1 and use saved objects, see #39829).

The scenario I ran into is when converting .kibana_task_manager to .kibana_task_manager_1. I need to prefix the id with {type}: and was discussed (#40872) that it's best to convert using a script with the reindex.

@mikecote mikecote added Team:Operations Team label for Operations Team v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.4.0 labels Jul 23, 2019
@mikecote mikecote requested a review from a team July 23, 2019 18:29
@mikecote mikecote requested a review from a team as a code owner July 23, 2019 18:29
@mikecote mikecote self-assigned this Jul 23, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations

@elasticmachine

This comment has been minimized.

@tylersmalley

This comment has been minimized.

Copy link
Contributor

@tylersmalley tylersmalley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one small update to an error message, but otherwise LGTM!

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@mikecote mikecote merged commit 3dc4595 into elastic:master Jul 24, 2019
mikecote added a commit to mikecote/kibana that referenced this pull request Jul 24, 2019
… alias (elastic#41815)

* Allow migrator to run a reindex script when converting an index to an alias

* Apply PR feedback
mikecote added a commit that referenced this pull request Jul 24, 2019
… alias (#41815) (#41899)

* Allow migrator to run a reindex script when converting an index to an alias

* Apply PR feedback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes Team:Operations Team label for Operations Team v7.4.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants