elastic / elasticsearch

Free and Open Source, Distributed, RESTful Search Engine
https://www.elastic.co/products/elasticsearch
Other
69.59k stars 24.63k forks source link

Batch create-index cluster update tasks #111237

Open pxsalehi opened 1 month ago

pxsalehi commented 1 month ago

Currently, the create-index API results in cluster state updates which are submitted unbatched. This can potentially lead to too many cluster state update tasks in cases where there are many concurrent create-index requests, and could be improved by using batching. Note that, we might need to carefully pick a reasonable size to batch these requests since this operation can be potentially expensive and involve mapping creation, etc.

elasticsearchmachine commented 1 month ago

Pinging @elastic/es-distributed (Team:Distributed)