# Elasticsearch cluster nodes not returning correct data count while shard initialisation

**URL:** <https://discuss.elastic.co/t/elasticsearch-cluster-nodes-not-returning-correct-data-count-while-shard-initialisation/60177>\
**Category:** Elasticsearch\
**Created:** [September 9, 2016, 3:38pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-nodes-not-returning-correct-data-count-while-shard-initialisation/60177 "2016-09-09T15:38:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rahmath\_ullah](https://avatars.discourse-cdn.com/v4/letter/r/3be4f8/32.png) [@Rahmath\_ullah](https://discuss.elastic.co/u/Rahmath_ullah)\
**Post date:** [September 9, 2016, 3:38pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-nodes-not-returning-correct-data-count-while-shard-initialisation/60177/1 "2016-09-09T15:38:22Z")

</div>

I have configured the 3 Elastic search clusters in Amazon ec2 instance and configured under a Loadbalancer having more than 200GB data.  
ES1, ES2, ES3  
data replica : 1

when I restart the ES2 node, 2 secondary shard are initializing for more than a hour, since I have all the primary shards are available,  
I can't get the correct data count when the loadbalancer hits the ES2 node.

Any one please help on what is happening and what i have to do. Thanks

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [September 11, 2016, 11:00am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-nodes-not-returning-correct-data-count-while-shard-initialisation/60177/2 "2016-09-11T11:00:00Z")

</div>

There's no where near enough info here to help.

What version of things are you on? How many shards? What are you actually seeing (show us via `_cat` calls).

---

<div class="post-metadata">

**Author:** ![Rahmath\_ullah](https://avatars.discourse-cdn.com/v4/letter/r/3be4f8/32.png) [@Rahmath\_ullah](https://discuss.elastic.co/u/Rahmath_ullah)\
**Post date:** [September 22, 2016, 8:54am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-nodes-not-returning-correct-data-count-while-shard-initialisation/60177/3 "2016-09-22T08:54:47Z")

</div>

I accessed the node before sharding completion. The issue fixed. Thank you for the reply.

---

<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, 10:18pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-nodes-not-returning-correct-data-count-while-shard-initialisation/60177/4 "2017-07-05T22:18:14Z")

</div>

Closed on July 5, 2017, 10:18pm UTC


