-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Handling multiple mapping type index templates #2356
Comments
As per discussion with @nknize, we should have tests in place to capture upgrade behavior with multiple type index templates. The current bwc testing framework limits the previous ES/OS versions against which bwc tests can be run (earliest allowed is |
Discussed it offline with @nknize , who advised to perform manual upgrades and verify if multi-type index templates survive rolling upgrades to 7.x / OS1.x cluster. Verified that mapping types is removed silently during 6.x -> 7.x upgrade. The template remain same other than type removal under mappings and only one ( 5.0
7.10.2/7.17
|
From manual steps above, it is verified that multi-type templates doesn't persist beyond 6.x. So, it is not possible to have multi-type templates in 7.x+ clusters. Hence, there is no need of handling multi-type templates in OS 2.0 |
Index templates are preserved over rolling upgrades, so it is possible to multiple type templates in the cluster state. Post removal of mapping types from 2.0; nodes running OpenSearch 2.0 or higher should refuse to join a cluster containing multiple type templates.
The text was updated successfully, but these errors were encountered: