# Cluster goes yellow during force merge

**URL:** <https://discuss.elastic.co/t/cluster-goes-yellow-during-force-merge/236495>\
**Category:** Elasticsearch\
**Created:** [June 10, 2020, 10:56am UTC](https://discuss.elastic.co/t/cluster-goes-yellow-during-force-merge/236495 "2020-06-10T10:56:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hprotzek](https://avatars.discourse-cdn.com/v4/letter/h/df788c/32.png) [@hprotzek](https://discuss.elastic.co/u/hprotzek)\
**Post date:** [June 10, 2020, 10:56am UTC](https://discuss.elastic.co/t/cluster-goes-yellow-during-force-merge/236495/1 "2020-06-10T10:56:57Z")

</div>

We are using following ILM policy:

```auto
    "policy": {
        "phases": {
          "hot": {
            "min_age": "0ms",
            "actions": {
              "rollover": {
                "max_age": "1d",
                "max_docs": 60000000
              },
              "set_priority": {
                "priority": 100
              }
            }
          },
          "warm": {
            "actions": {
              "allocate": {
                "require": {
                  "data": "warm"
                }
              },
              "forcemerge": {
                "max_num_segments": 1
              },
              "set_priority": {
                "priority": 50
              },
              "shrink": {
                "number_of_shards": 1
              }
            }
          }
        }
      }
    }

```

On rollover the cluster goes into yellow state, I guess during the force merge, when it creates the replica after merging the index into one shard. Is this a expected behaviour, with this kind of setup?

---

<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 8, 2020, 10:56am UTC](https://discuss.elastic.co/t/cluster-goes-yellow-during-force-merge/236495/2 "2020-07-08T10:56:58Z")

</div>

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