Is it right that all my shards are showing up in /_cat/recovery?
It looks like every one of them is marked "done". It is cool to be able to
see the last replication, as well as the relatively huge cost of relocation
while writing but it isn't what I expected reading the docs.
Sorry for the confusion. The recovery API is meant to show the most recent recovery for each shard, as well as active recoveries. I'll see if we can improve the documentation around this.
To see only active, on-going recoveries, use the active_only flag. For example: curl -XGET 'localhost:9200/_cat/recovery?active_only=true&v'. Additionally, it's possible to get file-level recovery detail by using the JSON version of the recovery API [1]. Try hitting this in your browser: http://localhost:9200/_recovery?pretty=true&human=true&detailed=true&active_only=true.
On Apr 10, 2014, at 12:09 PM, Nikolas Everett nik9000@gmail.com wrote:
Is it right that all my shards are showing up in /_cat/recovery?
It looks like every one of them is marked "done". It is cool to be able to see the last replication, as well as the relatively huge cost of relocation while writing but it isn't what I expected reading the docs.
Sorry for the confusion. The recovery API is meant to show the most recent
recovery for each shard, as well as active recoveries. I'll see if we can
improve the documentation around this.
To see only active, on-going recoveries, use the active_only flag. For
example: curl -XGET 'localhost:9200/_cat/recovery?active_only=true&v'.
Additionally, it's possible to get file-level recovery detail by using the
JSON version of the recovery API [1]. Try hitting this in your browser: http://localhost:9200/_recovery?pretty=true&human=true&detailed=true&active_only=true
.
On Apr 10, 2014, at 12:09 PM, Nikolas Everett nik9000@gmail.com wrote:
Is it right that all my shards are showing up in /_cat/recovery?
It looks like every one of them is marked "done". It is cool to be able
to see the last replication, as well as the relatively huge cost of
relocation while writing but it isn't what I expected reading the docs.
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.