# Replica can not assigned shard in single node

**URL:** <https://discuss.elastic.co/t/replica-can-not-assigned-shard-in-single-node/316504>\
**Category:** Elasticsearch\
**Created:** [October 13, 2022, 8:26am UTC](https://discuss.elastic.co/t/replica-can-not-assigned-shard-in-single-node/316504 "2022-10-13T08:26:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kongnyang](https://avatars.discourse-cdn.com/v4/letter/k/e9a140/32.png) [@kongnyang](https://discuss.elastic.co/u/kongnyang)\
**Post date:** [October 13, 2022, 8:26am UTC](https://discuss.elastic.co/t/replica-can-not-assigned-shard-in-single-node/316504/1 "2022-10-13T08:26:33Z")

</div>

I wonder if the replica cannot assign a shard on a single node ( elsticsearch version 8.1.2 ).  
I know that single node does not need replica but version 7.17.1 can assign shard in replica.

I've done the upgrade v 7.17.1 to v 8.1.2 and run reroute, but the problem still remains.

---

<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:** [October 13, 2022, 10:56pm UTC](https://discuss.elastic.co/t/replica-can-not-assigned-shard-in-single-node/316504/2 "2022-10-13T22:56:24Z")

</div>

You cannot assign replicas on a single node cluster, Elasticsearch will never allow it as there's no redundancy offered by doing this.

---

<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:** [November 10, 2022, 10:57pm UTC](https://discuss.elastic.co/t/replica-can-not-assigned-shard-in-single-node/316504/3 "2022-11-10T22:57:08Z")

</div>

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