You can issue a Move allocation command of just the replicas. A single
move request with each of your replica shards shunted to a different node
should do it. The move is implemented as a copy from the primary (well it
is in ES 0.19 anyway)
Note though that if you move things aroun such that a post move
auto rebalance dictates a shard replica to go back to where it was it
appears to then find the old copy and just reuse that data which cancels
out what you just tried to so.
You can issue a Move allocation command of just the replicas. A single
move request with each of your replica shards shunted to a different node
should do it. The move is implemented as a copy from the primary (well it
is in ES 0.19 anyway)
Note though that if you move things aroun such that a post move
auto rebalance dictates a shard replica to go back to where it was it
appears to then find the old copy and just reuse that data which cancels
out what you just tried to so.
Ahhh...so that's the trick. Well, it definitely wasn't obviously
reading the API guide. Perhaps there should be a note there.
I actually tried moving the primary which didn't change the replica, but I
confirmed that moving the replica did rebuild it.
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.