# Accidental force merge

**URL:** https://discuss.elastic.co/t/accidental-force-merge/317539
**Category:** Elasticsearch
**Created:** [October 26, 2022, 2:50pm UTC](https://discuss.elastic.co/t/accidental-force-merge/317539 "2022-10-26T14:50:56Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![h0llym0lly](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/h0llym0lly/32/108820_2.png) [@h0llym0lly](https://discuss.elastic.co/u/h0llym0lly)
#### Post date: [October 26, 2022, 2:50pm UTC](https://discuss.elastic.co/t/accidental-force-merge/317539/1 "2022-10-26T14:50:56Z")

</div>

Hi,

I executed force merge and forgot to add index name which I want to merge...  
Now the task is ongoing for some time and it has description:

```auto
 "Force-merge indices [], maxSegments[4], onlyExpungeDeletes[false], flush[true]"

```

Does it mean it tries to force merge all indices present in the cluster or what?  
I wanted to stop it, but it is not possible...  
What can I do in this case? it eats all the ram and I am afraid of nodes failure when it will be ongoing forever.

---

<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: [October 31, 2022, 2:17am UTC](https://discuss.elastic.co/t/accidental-force-merge/317539/2 "2022-10-31T02:17:08Z")

</div>

Welcome to our community! 😃

The only way to stop a force merge is to do an entire cluster restart. Otherwise you will have to wait for it to complete.

---

<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: [November 28, 2022, 2:17am UTC](https://discuss.elastic.co/t/accidental-force-merge/317539/3 "2022-11-28T02:17:34Z")

</div>

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