-
Notifications
You must be signed in to change notification settings - Fork 25k
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
Don't allow invalid template combinations #56397
Conversation
This commit removes the ability to put V2 index templates that refence missing component templates. It also prevents removing component templates that are being referenced by an existing V2 index template. Relates to elastic#53101 Resolves elastic#56314
Pinging @elastic/es-core-features (:Core/Features/Indices APIs) |
@elasticmachine update branch |
@elasticmachine update branch |
Looks like CI ran out of memory:
@elasticmachine run elasticsearch-ci/1 |
@elasticmachine update branch |
@elasticmachine update branch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for fixing this Lee
Left a super minor nit, feel free to ignore
server/src/main/java/org/elasticsearch/cluster/metadata/MetadataIndexTemplateService.java
Outdated
Show resolved
Hide resolved
This commit removes the ability to put V2 index templates that reference missing component templates. It also prevents removing component templates that are being referenced by an existing V2 index template. Relates to elastic#53101 Resolves elastic#56314
This commit removes the ability to put V2 index templates that reference missing component templates.
It also prevents removing component templates that are being referenced by an existing V2 index
template.
Relates to #53101
Resolves #56314