# Elasticsearch adds one more shard when on index creation

**URL:** <https://discuss.elastic.co/t/elasticsearch-adds-one-more-shard-when-on-index-creation/21094>\
**Category:** Elasticsearch\
**Created:** [December 4, 2014, 11:42pm UTC](https://discuss.elastic.co/t/elasticsearch-adds-one-more-shard-when-on-index-creation/21094 "2014-12-04T23:42:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marko\_Krstic](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@Marko\_Krstic](https://discuss.elastic.co/u/Marko_Krstic)\
**Post date:** [December 4, 2014, 11:42pm UTC](https://discuss.elastic.co/t/elasticsearch-adds-one-more-shard-when-on-index-creation/21094/1 "2014-12-04T23:42:49Z")

</div>

Hi,  
I have a problem with one node cluster. When i create index with 10 shards,  
it adds one more active shard. First i thought that it is replica shard,  
but than i read that there is no replica on single node cluster. Is this  
some problem in settings or it is normal?

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).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/e2493064-3113-41c9-8c89-9eb3509c2ff1%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/e2493064-3113-41c9-8c89-9eb3509c2ff1%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [December 5, 2014, 12:41am UTC](https://discuss.elastic.co/t/elasticsearch-adds-one-more-shard-when-on-index-creation/21094/2 "2014-12-05T00:41:34Z")

</div>

Did you specify the replica count as well as the shard count? By default ES  
will add a replica unless you specifically tell it not to.  
You can check this using the \_cat APIs

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

Also 10 shards is a bit of overkill for a single node, unless you are  
intending on extending the cluster to more nodes of course.

On 5 December 2014 at 10:42, Marko Krstic [markokrstic90@gmail.com](mailto:markokrstic90@gmail.com) wrote:

> Hi,  
> I have a problem with one node cluster. When i create index with 10  
> shards, it adds one more active shard. First i thought that it is replica  
> shard, but than i read that there is no replica on single node cluster. Is  
> this some problem in settings or it is normal?
> 
> 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).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/e2493064-3113-41c9-8c89-9eb3509c2ff1%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/e2493064-3113-41c9-8c89-9eb3509c2ff1%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/e2493064-3113-41c9-8c89-9eb3509c2ff1%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/e2493064-3113-41c9-8c89-9eb3509c2ff1%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAEYi1X9BYb3SmPJ%3Duh8u3s%2B-Pmz1zrJ%2BKmbDAjp74iJAJbNm\_A%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEYi1X9BYb3SmPJ%3Duh8u3s%2B-Pmz1zrJ%2BKmbDAjp74iJAJbNm_A%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 12:45am UTC](https://discuss.elastic.co/t/elasticsearch-adds-one-more-shard-when-on-index-creation/21094/3 "2017-07-06T00:45:42Z")

</div>


