Cluster state update

Currently I have a 4mb (compressed, according to /_cluster/state) cluster state and it's taking about 3 seconds to update every time it needs to be updated.

We have thousands of stored search templates in our cluster state and every now and then we need to update all of them, but it's taking hours to finish it.

Questions:

  1. Is there any way exec multiple updates to scripts without updating cluster state each time?
  2. Will be a problem if I send batches of update requests? I mean using multiple queue workers to do the job.
  3. Any other ideas apart from that?

Thanks in advance,
Claudio

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.