# Does master node update cluster state document for upserts?

**URL:** <https://discuss.elastic.co/t/does-master-node-update-cluster-state-document-for-upserts/330365>\
**Category:** Elasticsearch\
**Created:** [April 20, 2023, 8:22am UTC](https://discuss.elastic.co/t/does-master-node-update-cluster-state-document-for-upserts/330365 "2023-04-20T08:22:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![searchwithme](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/searchwithme/32/137075_2.png) [@searchwithme](https://discuss.elastic.co/u/searchwithme)\
**Post date:** [April 20, 2023, 8:22am UTC](https://discuss.elastic.co/t/does-master-node-update-cluster-state-document-for-upserts/330365/1 "2023-04-20T08:22:35Z")

</div>

So, I understand the master nodes updates cluster state documents when I create or delete an index. What if I just have one index ( I am not going to create or delete any other indices). and I constantly add data to this index. What role does the master node have in this case? Does it have to update cluster state document for upserts?

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [April 20, 2023, 8:24am UTC](https://discuss.elastic.co/t/does-master-node-update-cluster-state-document-for-upserts/330365/2 "2023-04-20T08:24:24Z")

</div>

The master does not participate in normal index or search requests at all. The only exception is if mappings are changed or added, as that goes into the cluster state.

---

<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:** [May 18, 2023, 8:25am UTC](https://discuss.elastic.co/t/does-master-node-update-cluster-state-document-for-upserts/330365/3 "2023-05-18T08:25:13Z")

</div>

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