I started a new fresh Elasticsearch (7.9) cluster with sample flights data.
If I look up for the "number_of_replicas" setting of this index, I get 1. And, if I try to use the cat/shards API, I see one primary replicas one of my nodes and the other replica on other node.
Now, I want to modify the number_of_replicas from 1 to 2. When I do so, everything seems fine but I was excepting, into the /cat/shards API, to see a new replica and it's not the case.
Did I misunderstood the concept of replicas? Or maybe there is some time between the change of parameter and the moment the data is actually replicated?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.