# Rollover very slow to occurr

**URL:** <https://discuss.elastic.co/t/rollover-very-slow-to-occurr/272414>\
**Category:** Elasticsearch\
**Tags:** ilm-index-lifecycle-management\
**Created:** [May 7, 2021, 11:59am UTC](https://discuss.elastic.co/t/rollover-very-slow-to-occurr/272414 "2021-05-07T11:59:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ronaldo\_Lanhellas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ronaldo_lanhellas/32/88020_2.png) [@Ronaldo\_Lanhellas](https://discuss.elastic.co/u/Ronaldo_Lanhellas)\
**Post date:** [May 7, 2021, 11:59am UTC](https://discuss.elastic.co/t/rollover-very-slow-to-occurr/272414/1 "2021-05-07T11:59:52Z")

</div>

I'm trying to apply the following policy with rollover:

```
` "policy": {
    "phases": {
      "hot":{
        "actions": {
          "rollover":{
            "max_size": "2GB"
          }
        }
      },
      "warm": {
        "min_age": "3d",
        "actions": {
          "forcemerge": {
            "max_num_segments": 1
          }
        }
      },
      "delete": {
        "min_age": "5d",
        "actions": {
          "delete": {}
        }
      }
    }
  }`

```

And now I have an index that has 4.4GB and Rollover don't happen yet, see:

 ![Captura de tela 2021-05-07 085825](https://us1.discourse-cdn.com/elastic/original/3X/2/e/2e3dfe846d74e8b60305451be28dffaa35253ed8.png)

As you can see Rollover started about 8h ago but not created yet as "-00002" index, and my original index "-000001" don't stop to grow up.

---

<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:** [May 12, 2021, 12:53am UTC](https://discuss.elastic.co/t/rollover-very-slow-to-occurr/272414/2 "2021-05-12T00:53:27Z")

</div>

Can you share the output from `GET /YOURINDEX-000001/_ilm/explain`?

---

<div class="post-metadata">

**Author:** ![Ronaldo\_Lanhellas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ronaldo_lanhellas/32/88020_2.png) [@Ronaldo\_Lanhellas](https://discuss.elastic.co/u/Ronaldo_Lanhellas)\
**Post date:** [May 13, 2021, 4:01pm UTC](https://discuss.elastic.co/t/rollover-very-slow-to-occurr/272414/3 "2021-05-13T16:01:04Z")

</div>

I already discovered the problem. I was in a loop, trying to create another index pointing to same alias with "write=true", but this is not possible. So, rolloved indexes can't have the "alias write=true" and now everything works fine.

---

<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 10, 2021, 4:01pm UTC](https://discuss.elastic.co/t/rollover-very-slow-to-occurr/272414/4 "2021-06-10T16:01:05Z")

</div>

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