When you decrease the replicas dynamically, the data is deleted from wherever nodes they reside in. Then when you increase it back dynamically, ES will then make new copies of the shards on-the-fly. Also when you set index.number_of_replicas in the YML file, that only applies to new indexes created after start up. If you already had an existing index prior to that change in the YML file, no change will be made to the replica count of that prior existing index.
-- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/8ed8fb2f-5c75-48c3-b90d-4ae3dcc99e88%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
