Reindex metricbeat indices

Hello everyone,

I am having some trouble using the reindex API to change the settings of metricbeat indexes. My idea is to reindex the original indexes to a new index with just a single shard and 0 replicas.

The new index is created without trouble and the reindex is started but after a while I get the error:

{"type":"search_context_missing_exception","reason":"No search context found for id [592099]"}

I looked at similar issues like this one: Problem when reindexing large index - #3 by Juris_Rats and tried the solution proposed. I reduced the batch size to 100 and then to 10. Both still led to the error.

Some stats:

  • ES version: 6.5.4
  • Metricbeat index version: 6.1.1
  • Size of metricbeat index: 3.5Gb

I would appreciate any suggestions that might lead to understanding this issue.
Thanks,
Ivo

UPDATE After moving the data directory used by elasticsearch from a nfs volume to local storage this issue disappeared. Do not use remote-mounted storage, such as NFS or SMB/CIFS. The latency introduced here is antithetical to performance.

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