# Post migration ELK issue

**URL:** <https://discuss.elastic.co/t/post-migration-elk-issue/99449>\
**Category:** Elasticsearch\
**Created:** [September 5, 2017, 2:25pm UTC](https://discuss.elastic.co/t/post-migration-elk-issue/99449 "2017-09-05T14:25:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![harish.g](https://avatars.discourse-cdn.com/v4/letter/h/e495f1/32.png) [@harish.g](https://discuss.elastic.co/u/harish.g)\
**Post date:** [September 5, 2017, 2:25pm UTC](https://discuss.elastic.co/t/post-migration-elk-issue/99449/1 "2017-09-05T14:25:59Z")

</div>

We have completed the migration of 3 nodes elasticsearch (2.2 to 5.5) , before migration we took the snapshot of all the indices which around 1TB and 3756 shards .  
After the migration when we monitoring on the cerebro the totals shards are not matching and data is growing twice .

Before  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/4/4/4443898a43b58599a78889c76ba6b3d53b1fbb35.png)

After upgrade  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/c/6/c6466c60d303564bb8a0f5d889677ea714f525dc.png)

can some one help us understanding the behavior .

---

<div class="post-metadata">

**Author:** ![mujtabahussain](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mujtabahussain/32/17514_2.png) [@mujtabahussain](https://discuss.elastic.co/u/mujtabahussain)\
**Post date:** [September 5, 2017, 11:59pm UTC](https://discuss.elastic.co/t/post-migration-elk-issue/99449/2 "2017-09-05T23:59:12Z")

</div>

Exactly double! Any chance the second graph is counting replicas as well whereas the previous one was simply counting only primaries?

---

<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 6, 2017, 12:30am UTC](https://discuss.elastic.co/t/post-migration-elk-issue/99449/3 "2017-09-06T00:30:15Z")

</div>

You have way too many shards by the way.  
Use `_shrink` to reduce that.

---

<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:** [October 4, 2017, 12:30am UTC](https://discuss.elastic.co/t/post-migration-elk-issue/99449/4 "2017-10-04T00:30:22Z")

</div>

Closed on October 4, 2017, 12:30am UTC

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