Currently I am working on a single node Elasticsearch setup. But the replication factor was set to 1 by default. The space on my node is 3TB. If I decrease the replication factor to 0 , what will happen in that case?
On the current node since replication factor is 1 , does this create 2 replicas?
What will happen to the already consumed space on this node, will that be decreased or will it not impact?
Once I move to production, should I move replication factor back to 1 or this will only be required if another node is added.
Basically I want to understand the concept of changing the replication factor on the space consumed on the node.
If you add a new node to the cluster, then replicas will, by default, be allocated. That means you need two nodes of the same size as your existing node to fit all the data. If you added a 3rd node, then per node usage would be lower.
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.