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

Upgrade Assistant should set index.mapping.single_type=true #21359

Closed
immon opened this issue Jul 27, 2018 · 1 comment
Closed

Upgrade Assistant should set index.mapping.single_type=true #21359

immon opened this issue Jul 27, 2018 · 1 comment
Labels
Team:Operations Team label for Operations Team

Comments

@immon
Copy link

immon commented Jul 27, 2018

Describe the feature:

Upgrade Assistant in 5.6 should set index.mapping.single_type to true after reindexing .kibana. It will help to avoid issues when an old Kibana (eg 5.6.1) adds multiple types to .kibana-6 and breaks it.
New Kibana (eg 5.6.10) refuses to start with the following error:

{"type":"log","@timestamp":"2018-07-17T08:09:16Z","tags":["status","plugin:[email protected]","error"],"pid":1,"state":"red","message":"Status changed from red to red - [illegal_argument_exception] mapper [version] cannot be changed from type [long] to [integer]","prevState":"red","prevMsg":"[remote_transport_exception] [soJvHr6][10.6.220.234:9300][indices:admin/mapping/put]"}

We already set single_type to true when creating .kibana index #11451 but not after Upgrade Assistant has reindexed .kibana to .kibana-6

Describe a specific use case for the feature:

/cc: @jbudz

@Bargs Bargs added Team:Operations Team label for Operations Team triage_needed labels Jul 31, 2018
@tylersmalley
Copy link
Contributor

Closing this as no further changes are being made to the upgrade assistant in 5.6 and Kibana now has it's own index migrations.

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

No branches or pull requests

4 participants