# Docs count decresing on restarts

**URL:** <https://discuss.elastic.co/t/docs-count-decresing-on-restarts/44288>\
**Category:** Elasticsearch\
**Created:** [March 14, 2016, 7:45am UTC](https://discuss.elastic.co/t/docs-count-decresing-on-restarts/44288 "2016-03-14T07:45:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Phani\_Nadiminti](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/phani_nadiminti/32/45381_2.png) [@Phani\_Nadiminti](https://discuss.elastic.co/u/Phani_Nadiminti)\
**Post date:** [March 14, 2016, 7:45am UTC](https://discuss.elastic.co/t/docs-count-decresing-on-restarts/44288/1 "2016-03-14T07:45:30Z")

</div>

Hi All,

When I am restarting my prod cluster which contains 4 nodes.I have observed total document count is decreasing after restart from my ES cluster, but no document is deleted from the index as well.Please some one explain me what could be the cause or it is an issue...

Thanks  
phani

---

<div class="post-metadata">

**Author:** ![rusty](https://avatars.discourse-cdn.com/v4/letter/r/f17d59/32.png) [@rusty](https://discuss.elastic.co/u/rusty)\
**Post date:** [March 14, 2016, 7:55am UTC](https://discuss.elastic.co/t/docs-count-decresing-on-restarts/44288/2 "2016-03-14T07:55:26Z")

</div>

Hi, if you have unassigned/initializing shards for that time you can see such things (your documents resides in shards and if your shard is not acceptable at a mmoment you see less documents). Wait until you cluster switch state to "green" and then compare documents count.

---

<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 5, 2017, 11:08pm UTC](https://discuss.elastic.co/t/docs-count-decresing-on-restarts/44288/3 "2017-07-05T23:08:44Z")

</div>


