# Every shard showing up in /\_cat/recovery

**URL:** <https://discuss.elastic.co/t/every-shard-showing-up-in--cat-recovery/16932>\
**Category:** Elasticsearch\
**Created:** [April 10, 2014, 7:09pm UTC](https://discuss.elastic.co/t/every-shard-showing-up-in--cat-recovery/16932 "2014-04-10T19:09:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nik9000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nik9000/32/44947_2.png) [@nik9000](https://discuss.elastic.co/u/nik9000)\
**Post date:** [April 10, 2014, 7:09pm UTC](https://discuss.elastic.co/t/every-shard-showing-up-in--cat-recovery/16932/1 "2014-04-10T19:09:06Z")

</div>

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](mailto: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](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](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![andrew](https://avatars.discourse-cdn.com/v4/letter/a/f19dbf/32.png) [@andrew](https://discuss.elastic.co/u/andrew)\
**Post date:** [April 10, 2014, 7:57pm UTC](https://discuss.elastic.co/t/every-shard-showing-up-in--cat-recovery/16932/2 "2014-04-10T19:57:19Z")

</div>

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](http://localhost:9200/_recovery?pretty=true&human=true&detailed=true&active_only=true).

Cheers,  
Andrew

1. [Elasticsearch Platform — Find real-time answers at scale | Elastic](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](mailto: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](mailto: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](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](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](mailto: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](https://groups.google.com/d/msgid/elasticsearch/3EB94680-3A74-47F7-A177-8304F83D030F%40elasticsearch.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![nik9000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nik9000/32/44947_2.png) [@nik9000](https://discuss.elastic.co/u/nik9000)\
**Post date:** [April 10, 2014, 8:05pm UTC](https://discuss.elastic.co/t/every-shard-showing-up-in--cat-recovery/16932/3 "2014-04-10T20:05:44Z")

</div>

I see now. Cool. Thanks.

Nik

On Thu, Apr 10, 2014 at 3:57 PM, Andrew Selden \<  
[andrew.selden@elasticsearch.com](mailto: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](http://localhost:9200/_recovery?pretty=true&human=true&detailed=true&active_only=true)  
> .
> 
> Cheers,  
> Andrew
> 
> 1. 
> 
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](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](mailto: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](mailto: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](https://groups.google.com/d/msgid/elasticsearch/CAPmjWd156B1qypfQNM-7B1UTyZykOR%2BQs1VLTbWe%3D28VV%3Dx%3DsQ%40mail.gmail.com)[https://groups.google.com/d/msgid/elasticsearch/CAPmjWd156B1qypfQNM-7B1UTyZykOR%2BQs1VLTbWe%3D28VV%3Dx%3DsQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://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](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](mailto: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](https://groups.google.com/d/msgid/elasticsearch/3EB94680-3A74-47F7-A177-8304F83D030F%40elasticsearch.com)[https://groups.google.com/d/msgid/elasticsearch/3EB94680-3A74-47F7-A177-8304F83D030F%40elasticsearch.com?utm\_medium=email&utm\_source=footer](https://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](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](mailto: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](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](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:36am UTC](https://discuss.elastic.co/t/every-shard-showing-up-in--cat-recovery/16932/4 "2017-07-06T01:36:46Z")

</div>


