# Prioritize new index shard allocation over other shard reallocations

**URL:** <https://discuss.elastic.co/t/prioritize-new-index-shard-allocation-over-other-shard-reallocations/165876>\
**Category:** Elasticsearch\
**Created:** [January 27, 2019, 4:10am UTC](https://discuss.elastic.co/t/prioritize-new-index-shard-allocation-over-other-shard-reallocations/165876 "2019-01-27T04:10:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![amomchilov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/amomchilov/32/30271_2.png) [@amomchilov](https://discuss.elastic.co/u/amomchilov)\
**Post date:** [January 27, 2019, 4:10am UTC](https://discuss.elastic.co/t/prioritize-new-index-shard-allocation-over-other-shard-reallocations/165876/1 "2019-01-27T04:10:25Z")

</div>

Apologies if this is a case of RTFM, but I read the [Index Recovery Prioritization](https://www.elastic.co/guide/en/elasticsearch/reference/current/recovery-prioritization.html#recovery-prioritization) docs among others and couldn't find an answer.

I was descaling one of my Elasticsearch clusters, with a few hundred shard relocations running in parallel. Everything was dandy until a new hourly index was made. To my surprise, the new index's shard allocation was being throttled, because the full `node_concurrent_incoming_recoveries` quota was being exhausted by the shard relocations.

This has some pretty nasty consequences. If the new shards can't be allocated, then too much incoming data hits the few servers that do allocation, they start spiking their CPU and thrashing their heap, get unstable, disconnect, cause the cluster to go red... all kinds of fun!

Is there a way to always de-prioritize relocations, so that new index allocations are never throttled?

---

<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:** [February 24, 2019, 4:10am UTC](https://discuss.elastic.co/t/prioritize-new-index-shard-allocation-over-other-shard-reallocations/165876/2 "2019-02-24T04:10:27Z")

</div>

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