# Large/slow merge blocking node recovery during startup

**URL:** <https://discuss.elastic.co/t/large-slow-merge-blocking-node-recovery-during-startup/13675>\
**Category:** Elasticsearch\
**Created:** [September 18, 2013, 3:33pm UTC](https://discuss.elastic.co/t/large-slow-merge-blocking-node-recovery-during-startup/13675 "2013-09-18T15:33:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ankush\_Jhalani](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ankush_jhalani/32/875_2.png) [@Ankush\_Jhalani](https://discuss.elastic.co/u/Ankush_Jhalani)\
**Post date:** [September 18, 2013, 3:33pm UTC](https://discuss.elastic.co/t/large-slow-merge-blocking-node-recovery-during-startup/13675/1 "2013-09-18T15:33:50Z")

</div>

We are using v0.90.1 for a 4 node cluster - 1 data, 1 client ES running on  
each node. We have an index ~80 GB in size, with 5 shards and 3 replicas.  
Less than a 1% data changes everyday. All the merge settings are default.

What we are noticing that when we bring down ES and start it again, it can  
take upto an hour to completely start the node and go from health status yellow' -\>  
'green'. I turned on debug trace and noticed on starting the node, index  
shards are merging and taking from 17-30 minutes each. The node recovery is  
blocked during this period. This seems to be happening even when we don't  
have any new indexing is going on.

We were hoping that syncing up time on node startup should be very fast,  
but this really slows things down and is very confusing.

- Why is merge operation happening during a node startup? I would think  
merge should try to schedule at a low-activity period, which a node startup  
is clearly not.
- Why the merge seems to block node recovery during startup?

Can we reschedule merge to happen after node recovery completes or to not  
block node recovery. I am looking into modifying the  
indices.store.throttle.max\_bytes\_per\_sec and other merge settings to speed  
up, but I feel that's not the root issue here.

I have spent a lot of time trying to debug this issue so any help would be  
much appreciated. thanks!

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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 6, 2017, 2:15am UTC](https://discuss.elastic.co/t/large-slow-merge-blocking-node-recovery-during-startup/13675/2 "2017-07-06T02:15:46Z")

</div>

Closed on July 6, 2017, 2:15am UTC


