I use ElasticSeach 6.5
To change index mappings I am issuing reindexing operation.
For faster reindexing, I set number_of_replicas
to 0 for a new index (that I am reindexing into).
After reindexing is finished I set number_of_replicas
to 1. But this operation (setting of index parameter) returns immediately. Because of that, I think, that right after this post replicas are not created fully. It's too fast for big index.
How to check if replicas are really fully created and populated, so I can delete the old index and be sure, that data is safe in case of some of the node's failure?
You should wait for the cluster health to report green
, indicating that all replicas have been successfully allocated.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.