As per ES6 docs at Cluster reroute API | Elasticsearch Guide [8.11] | Elastic
this command requires the special field
accept_data_loss
to be explicitly set to true for it to work
May I get an example of this? Is this a URL parameter? Thank you.
As per ES6 docs at Cluster reroute API | Elasticsearch Guide [8.11] | Elastic
this command requires the special field
accept_data_loss
to be explicitly set to true for it to work
May I get an example of this? Is this a URL parameter? Thank you.
It appears this works:
{"commands":[{"command":{"allocate_stale_primary":{
"accept_data_loss":true,
"index": index_name,
"shard": shard_number,
"node": node_name
}}}]}
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
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.