Every shard showing up in /_cat/recovery


(Nik Everett) #1

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.

Example:
enwiki_general_1395839834 18 1796552 relocation done
elastic1003 elastic1015 n/a n/a 399 100.0% 9361018254
205630.5%

Elasticsearch 1.1.0, btw.

Nik

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAPmjWd156B1qypfQNM-7B1UTyZykOR%2BQs1VLTbWe%3D28VV%3Dx%3DsQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


#2

Nik,

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.

Cheers,
Andrew

  1. http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-recovery.html

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.

Example:
enwiki_general_1395839834 18 1796552 relocation done elastic1003 elastic1015 n/a n/a 399 100.0% 9361018254 205630.5%

Elasticsearch 1.1.0, btw.

Nik

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAPmjWd156B1qypfQNM-7B1UTyZykOR%2BQs1VLTbWe%3D28VV%3Dx%3DsQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/3EB94680-3A74-47F7-A177-8304F83D030F%40elasticsearch.com.
For more options, visit https://groups.google.com/d/optout.


(Nik Everett) #3

I see now. Cool. Thanks.

Nik

On Thu, Apr 10, 2014 at 3:57 PM, Andrew Selden <
andrew.selden@elasticsearch.com> wrote:

Nik,

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
.

Cheers,
Andrew

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-recovery.html

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.

Example:
enwiki_general_1395839834 18 1796552 relocation
done elastic1003 elastic1015 n/a n/a 399 100.0%
9361018254 205630.5%

Elasticsearch 1.1.0, btw.

Nik

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAPmjWd156B1qypfQNM-7B1UTyZykOR%2BQs1VLTbWe%3D28VV%3Dx%3DsQ%40mail.gmail.comhttps://groups.google.com/d/msgid/elasticsearch/CAPmjWd156B1qypfQNM-7B1UTyZykOR%2BQs1VLTbWe%3D28VV%3Dx%3DsQ%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/3EB94680-3A74-47F7-A177-8304F83D030F%40elasticsearch.comhttps://groups.google.com/d/msgid/elasticsearch/3EB94680-3A74-47F7-A177-8304F83D030F%40elasticsearch.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAPmjWd0rb%3D8gsR-BDKx%2B0g6D39%3DP-A5hGp_YqpVm3_UXpkdyQA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(system) #4