klahnakoski
(Kyle Lahnakoski)
December 4, 2017, 5:43pm
#1
As per ES6 docs at https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-reroute.html
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.
klahnakoski
(Kyle Lahnakoski)
December 8, 2017, 2:11pm
#2
It appears this works:
{"commands":[{"command":{"allocate_stale_primary":{
"accept_data_loss":true,
"index": index_name,
"shard": shard_number,
"node": node_name
}}}]}
system
(system)
closed
January 5, 2018, 2:11pm
#3
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.