Closed
Description
When Fleet installs and upgrades packages, we currently run a PUT
on every asset we need to write to Elasticsearch. Often, package assets will not change from one version to the next.
Elasticsearch has already optimized no-op updates to index and component templates by avoiding a cluster state write when the template has not changes. This results in single-digit millisecond response times on these operations.
Ingest pipelines do not yet have a similar optimization and this causes some delay that may be avoidable.
Index Template on no-op PUT
Ingest Pipeline on no-op PUT
Related to elastic/kibana#110500