# Shard doesn't get replicated

**URL:** <https://discuss.elastic.co/t/shard-doesnt-get-replicated/158671>\
**Category:** Elasticsearch\
**Created:** [November 29, 2018, 1:57am UTC](https://discuss.elastic.co/t/shard-doesnt-get-replicated/158671 "2018-11-29T01:57:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![neven.trelec](https://avatars.discourse-cdn.com/v4/letter/n/58f4c7/32.png) [@neven.trelec](https://discuss.elastic.co/u/neven.trelec)\
**Post date:** [November 29, 2018, 1:57am UTC](https://discuss.elastic.co/t/shard-doesnt-get-replicated/158671/1 "2018-11-29T01:57:06Z")

</div>

Hi,

We have a configured our elasticsearch to have 142 indices, 5 shards and 1 replica. We have the issue with one of the shards where it's replica is not created at all. Shard 2 of one of our metricbeat indices is never created as a replica.

What could be the reason that one shard is not replicated? Is it possible to force replication of a specific shard?

Thanks,  
Neven

---

<div class="post-metadata">

**Author:** ![bigphil](https://avatars.discourse-cdn.com/v4/letter/b/65b543/32.png) [@bigphil](https://discuss.elastic.co/u/bigphil)\
**Post date:** [November 29, 2018, 5:37am UTC](https://discuss.elastic.co/t/shard-doesnt-get-replicated/158671/2 "2018-11-29T05:37:09Z")

</div>

What is the output from the cluster allocation explain API? You can find the docs and commands [here](https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-allocation-explain.html)

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [November 29, 2018, 6:56am UTC](https://discuss.elastic.co/t/shard-doesnt-get-replicated/158671/3 "2018-11-29T06:56:56Z")

</div>

Not related to your question but I suspect you will suffer at some point from too many shards per node.

May I suggest you look at the following resources about sizing:

[https://www.elastic.co/elasticon/conf/2016/sf/quantitative-cluster-sizing](https://www.elastic.co/elasticon/conf/2016/sf/quantitative-cluster-sizing)

> **[How many shards should I have in my Elasticsearch cluster?
	  	 | Elastic](https://www.elastic.co/blog/how-many-shards-should-i-have-in-my-elasticsearch-cluster)**
>
> Elasticsearch is a very versatile platform, that supports a variety of use cases, and provides great flexibility around data organisation and replication strategies. This flexibility can however somet...

> **[NetSecureDay: Managing your Black Friday Logs](https://speakerdeck.com/elastic/netsecureday-managing-your-black-friday-logs)**
>
> Surveiller une application complexe n’est pas une tâche aisée, mais avec les bons outils, ce n’est pas si sorcier. Néanmoins, des périodes fortes telles que les opérations de type « Black Friday » (Vendredi noir) ou période de Noël peuvent pousser...

And [https://www.elastic.co/webinars/using-rally-to-get-your-elasticsearch-cluster-size-right](https://www.elastic.co/webinars/using-rally-to-get-your-elasticsearch-cluster-size-right)

---

<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:** [December 27, 2018, 7:11am UTC](https://discuss.elastic.co/t/shard-doesnt-get-replicated/158671/4 "2018-12-27T07:11:54Z")

</div>

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