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

Remove types from Esqueue #32146

Merged
merged 1 commit into from
Feb 28, 2019
Merged

Conversation

joshdover
Copy link
Contributor

@joshdover joshdover commented Feb 27, 2019

Summary

This removes the usage of types from Esqueue used for the .reporting index. New indices will get created with the default mapping type _doc and old indices will still have esqueue. I've removed all usages of the type completely as well as any code that was exposing the type, so the differing doc types should not matter.

This work is in support of #32035 to remove any code causing [types removal] deprecation logs in 6.7/7.x.

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@joshdover joshdover marked this pull request as ready for review February 27, 2019 20:37
@joshdover joshdover requested a review from tsullivan February 27, 2019 20:37
@joshdover joshdover added the Team:Operations Team label for Operations Team label Feb 27, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations

@joelgriffith
Copy link
Contributor

LGTM

@joshdover joshdover force-pushed the remove-types/esqueue branch from 0ae5578 to 19fa965 Compare February 28, 2019 15:50
Copy link
Member

@tsullivan tsullivan left a comment

Choose a reason for hiding this comment

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

LGTM

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@joshdover joshdover merged commit 021acaa into elastic:master Feb 28, 2019
@joshdover joshdover deleted the remove-types/esqueue branch February 28, 2019 18:29
joshdover added a commit to joshdover/kibana that referenced this pull request Feb 28, 2019
joshdover added a commit to joshdover/kibana that referenced this pull request Feb 28, 2019
joshdover added a commit to joshdover/kibana that referenced this pull request Feb 28, 2019
@joshdover
Copy link
Contributor Author

Realized backporting this to 6.7 doesn't make sense anymore:

  • Setting include_type_name: false in requests against a ES 7.0 cluster still results in deprecation messages. Backporting this wouldn't reduce deprecation warnings at all.
  • elasticsearch-js doesn't support typeless calls in 6.7 on some endpoint anyways, so this won't work right now. Because of point above, this is fine for this situation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants