# Force merge request does nothing (ES 5.1.2)

**URL:** https://discuss.elastic.co/t/force-merge-request-does-nothing-es-5-1-2/74478
**Category:** Elasticsearch
**Created:** [February 9, 2017, 9:23am UTC](https://discuss.elastic.co/t/force-merge-request-does-nothing-es-5-1-2/74478 "2017-02-09T09:23:11Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![willyaranda](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/willyaranda/32/5195_2.png) [@willyaranda](https://discuss.elastic.co/u/willyaranda)
#### Post date: [February 9, 2017, 9:23am UTC](https://discuss.elastic.co/t/force-merge-request-does-nothing-es-5-1-2/74478/1 "2017-02-09T09:23:11Z")

</div>

Hi!

Elastic 5.1.2

I have talked with @untergeek in [https://github.com/elastic/curator/issues/881](https://github.com/elastic/curator/issues/881) because I thought that I had a problem with force merge and curator.

It seems that there is a problem in other part which is not curator, and looks like ES is doing something strange.

I'm trying to \_forcemerge in our current cluster: 50 nodes, hot-warm architecture, big and small indexes, and big indexes with 42 primary shards and 1 replication.

We are testing it on small indexes first (30k documents, 30MB disk size, 5 shards), and \_forcemerge does nothing. There is no output, and there is no process running behind. Nothing shown on the logs (neither on the host where the command is issued, nor in the master) It should not take more than a few seconds to merge segments for a 30MB index, right?

Can you guys help me about what can be going on?

command: `curl -XPOST 'localhost:9200/wormhole_2017-02-03/_forcemerge?max_num_segments=1'`

Thanks!

---

<div class="post-metadata">

### Author: ![willyaranda](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/willyaranda/32/5195_2.png) [@willyaranda](https://discuss.elastic.co/u/willyaranda)
#### Post date: [February 9, 2017, 1:39pm UTC](https://discuss.elastic.co/t/force-merge-request-does-nothing-es-5-1-2/74478/2 "2017-02-09T13:39:26Z")

</div>

Is it possible that if I trigger another POST request, it does not return if there are pending \_forcemerge requests?

---

<div class="post-metadata">

### Author: ![willyaranda](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/willyaranda/32/5195_2.png) [@willyaranda](https://discuss.elastic.co/u/willyaranda)
#### Post date: [February 9, 2017, 2:02pm UTC](https://discuss.elastic.co/t/force-merge-request-does-nothing-es-5-1-2/74478/3 "2017-02-09T14:02:38Z")

</div>

It may be:

> This call will block until the merge is complete. If the http connection is lost, the request will continue in the background, and any new requests will block until the previous force merge is complete.

Is it possible to see those pending forcemerge?

---

<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: [March 9, 2017, 2:03pm UTC](https://discuss.elastic.co/t/force-merge-request-does-nothing-es-5-1-2/74478/4 "2017-03-09T14:03:26Z")

</div>

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