We had some outage wiht ES cluster. So that we cutoff the incomming and
outgoing traffic to/from ES cluster.
but we see lots of unassigned shards and get get them allocated
automatically.
Question is, will tuning allow_primary flag on when manually allocating the
shards delete the existing data?
I did so, and saw those shards immediately became available with size 0b.
Allocate an unassigned shard to a node. Accepts the index and shard for
index name and shard number, and node to allocate the shard to. It also
accepts allow_primary flag to explicitly specify that it is allowed to
explicitly allocate a primary shard (might result in data loss).
We had some outage wiht ES cluster. So that we cutoff the incomming and
outgoing traffic to/from ES cluster.
but we see lots of unassigned shards and get get them allocated
automatically.
Question is, will tuning allow_primary flag on when manually allocating
the shards delete the existing data?
I did so, and saw those shards immediately became available with size 0b.
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.