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

[migrations] fetch mappings with types #28497

Merged
merged 5 commits into from
Jan 10, 2019

Conversation

spalger
Copy link
Contributor

@spalger spalger commented Jan 10, 2019

This reverts #28369 and instead applies a suggestion from @joshdover to request the mappings with the type names included. This causes ES master to respond in the same format as it did a couple days ago so that we can unblock development while @chrisdavies works on longer-term fixes for ES v7 compatibility.

@spalger spalger added review Team:Operations Team label for Operations Team v7.0.0 labels Jan 10, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations

@spalger spalger changed the title Implement/fetch mappings with types [migrations] fetch mappings with types Jan 10, 2019
Copy link
Contributor

@chrisdavies chrisdavies left a comment

Choose a reason for hiding this comment

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

LGTM, but the async function is not async, so I'd remove that.

src/server/saved_objects/migrations/core/elastic_index.ts Outdated Show resolved Hide resolved
@elasticmachine

This comment has been minimized.

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@spalger spalger merged commit 8361b82 into elastic:master Jan 10, 2019
@spalger spalger deleted the implement/fetch-mappings-with-types branch January 10, 2019 18:12
tylersmalley pushed a commit to tylersmalley/kibana that referenced this pull request Jan 15, 2019
Follow-up to elastic#28497

Since elastic/elasticsearch#37285 has been merged, it's
aparent there are a couple more places we need to specify include_type_name
as a stop-gap until elastic#23650 is completed

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
chrisdavies pushed a commit that referenced this pull request Jan 15, 2019
* [migrations] Fetch additional mappings with types

Follow-up to #28497

Since elastic/elasticsearch#37285 has been merged, it's
aparent there are a couple more places we need to specify include_type_name
as a stop-gap until #23650 is completed

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Updates tests

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review Team:Operations Team label for Operations Team v7.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants