Skip to content

Conversation

@martijnvg
Copy link
Member

Backport of #62527 to 7.9 branch.

This commit adds validation that prohibits the creation of regular indices
in the namespace of templates with data streams enabled.

It shouldn't be possible to create ordinary indices when the name of the index
matches with a composable index template that enables data streams. Auto creation
has logic that creates data streams instead of regular indices. However validation
logic for the create index api was missing.

…stream templates

Backport of elastic#62527 to 7.9 branch.

This commit adds validation that prohibits the creation of regular indices
in the namespace of templates with data streams enabled.

It shouldn't be possible to create ordinary indices when the name of the index
matches with a composable index template that enables data streams. Auto creation
has logic that creates data streams instead of regular indices. However validation
logic for the create index api was missing.
@martijnvg martijnvg added backport :Data Management/Data streams Data streams and their lifecycles v7.9.2 labels Sep 17, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features (:Core/Features/Data streams)

@elasticmachine elasticmachine added the Team:Data Management Meta label for data/management team label Sep 17, 2020
@martijnvg
Copy link
Member Author

@elasticmachine run elasticsearch-ci/packaging-sample-windows

@martijnvg martijnvg merged commit 14fe9cf into elastic:7.9 Sep 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport :Data Management/Data streams Data streams and their lifecycles Team:Data Management Meta label for data/management team v7.9.2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants