# How to refresh/stop shrink action

**URL:** <https://discuss.elastic.co/t/how-to-refresh-stop-shrink-action/303733>\
**Category:** Elasticsearch\
**Tags:** ilm-index-lifecycle-management\
**Created:** [May 2, 2022, 9:46am UTC](https://discuss.elastic.co/t/how-to-refresh-stop-shrink-action/303733 "2022-05-02T09:46:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![INS](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ins/32/92827_2.png) [@INS](https://discuss.elastic.co/u/INS)\
**Post date:** [May 2, 2022, 9:46am UTC](https://discuss.elastic.co/t/how-to-refresh-stop-shrink-action/303733/1 "2022-05-02T09:46:45Z")

</div>

HI  
Can You help me out how I can refresh and disable shrink for indices?  
during, from the devtool console I didn't find any onging actoin, but it seems that a few a indices are hanging on that steps?

 ![shrink](https://us1.discourse-cdn.com/elastic/original/3X/4/d/4d0da304a12e54046c07c8c64d486c02ffdfbfb9.jpeg)

Such state doesn't allow to move such data from warm to cold tier.

---

<div class="post-metadata">

**Author:** ![INS](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ins/32/92827_2.png) [@INS](https://discuss.elastic.co/u/INS)\
**Post date:** [May 4, 2022, 5:44am UTC](https://discuss.elastic.co/t/how-to-refresh-stop-shrink-action/303733/2 "2022-05-04T05:44:58Z")

</div>

internal bump

---

<div class="post-metadata">

**Author:** ![angelo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/angelo/32/61325_2.png) [@angelo](https://discuss.elastic.co/u/angelo)\
**Post date:** [May 4, 2022, 2:57pm UTC](https://discuss.elastic.co/t/how-to-refresh-stop-shrink-action/303733/3 "2022-05-04T14:57:41Z")

</div>

Based on the status message, it appears the index is trying to go from 8 shards to 21 (?) ... the shrink process is for going to a new index with fewer primary shards so this appears to be a configuration issue. For your 8 primary shards, the options would be to shrink to 4, 2 or 1 as noted in the [docs](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-shrink-index.html#shrink-index-api-desc).

---

<div class="post-metadata">

**Author:** ![INS](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ins/32/92827_2.png) [@INS](https://discuss.elastic.co/u/INS)\
**Post date:** [May 5, 2022, 8:31am UTC](https://discuss.elastic.co/t/how-to-refresh-stop-shrink-action/303733/4 "2022-05-05T08:31:35Z")

</div>

Yes it came down to incompatibility, that's why I had to remove these indices.

---

<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:** [June 2, 2022, 8:32am UTC](https://discuss.elastic.co/t/how-to-refresh-stop-shrink-action/303733/5 "2022-06-02T08:32:32Z")

</div>

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