[Ingest] Add index template for the '.ingest' index#15631
[Ingest] Add index template for the '.ingest' index#15631martijnvg wants to merge 0 commit intoelastic:feature/ingestfrom
Conversation
There was a problem hiding this comment.
so, if we fail to install the template, we just flag and continue working as usual? So ingest template is optimistic, and not a requirement.
There was a problem hiding this comment.
This method will only be invoked if ingest is running and the ingest template gets removed. (for example, a user deletes all his index templates). In this case we try to put the index template back if that fails we try again on the next cluster state update. (on each modification to the cluster the clusterChanged gets invoked)
In the case that we're not started and adding the index template fails we don't start the PipelineStore and on the next cluster state update we try to add the template and start the PipelineStore again.
|
LGTM |
814f7fd to
d302748
Compare
d302748 to
1936d61
Compare
Also added logic that ensures that the index template is installed.
An index template for the '.ingest' index is required because: