# Cat shards API return different size on a same shard

**URL:** <https://discuss.elastic.co/t/cat-shards-api-return-different-size-on-a-same-shard/120394>\
**Category:** Elasticsearch\
**Created:** [February 19, 2018, 4:46am UTC](https://discuss.elastic.co/t/cat-shards-api-return-different-size-on-a-same-shard/120394 "2018-02-19T04:46:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![James\_Yin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/james_yin/32/17428_2.png) [@James\_Yin](https://discuss.elastic.co/u/James_Yin)\
**Post date:** [February 19, 2018, 4:46am UTC](https://discuss.elastic.co/t/cat-shards-api-return-different-size-on-a-same-shard/120394/1 "2018-02-19T04:46:18Z")

</div>

I used Elasticsearch 5.2.2 in a cluster. We found sometimes the cart shards API return different size on a same shard, but there are not any documents to add and delete.

We use cat shards API to get the shard size 4 times, at 1st, 2nd and 4th, The API all return 79853341543 , but at 3rd call, the shard size is 159725282695.  
http://${host}/\_cat/shards/index\_001?v&s=shard:desc,prirep:desc&bytes=b  
index shard prirep state docs store ip node  
index\_001 4 r STARTED 526340015 79853341543 163.59.123.56 es\_data\_node\_055  
index\_001 4 r STARTED 526340015 79853341543 163.59.123.56 es\_data\_node\_055  
index\_001 4 r STARTED 526340015 159725282695 163.59.123.56 es\_data\_node\_055  
index\_001 4 r STARTED 526340015 79853341543 163.59.123.56 es\_data\_node\_055  
Why? what store size is the real size?

---

<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:** [March 19, 2018, 4:46am UTC](https://discuss.elastic.co/t/cat-shards-api-return-different-size-on-a-same-shard/120394/2 "2018-03-19T04:46:20Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
