# What is going to happen for query/indexing requests sent to master node

**URL:** <https://discuss.elastic.co/t/what-is-going-to-happen-for-query-indexing-requests-sent-to-master-node/245475>\
**Category:** Elasticsearch\
**Created:** [August 18, 2020, 6:06pm UTC](https://discuss.elastic.co/t/what-is-going-to-happen-for-query-indexing-requests-sent-to-master-node/245475 "2020-08-18T18:06:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![junhuangli](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/junhuangli/32/77615_2.png) [@junhuangli](https://discuss.elastic.co/u/junhuangli)\
**Post date:** [August 18, 2020, 6:06pm UTC](https://discuss.elastic.co/t/what-is-going-to-happen-for-query-indexing-requests-sent-to-master-node/245475/1 "2020-08-18T18:06:29Z")

</div>

We have an elastic-search cluster with 3 data nodes and 3 master nodes.  
When using it, all traffic(query+indexing) are sent to master nodes in round robin right now. After reading docs, I believe we should change it to sent to data nodes instead. Is that right?

Also, what is going to happen for those requests that are sent to master node? Is this force master nodes to be a "coordinating node"? or it will just redirect to other data nodes?

---

<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:** [August 18, 2020, 6:12pm UTC](https://discuss.elastic.co/t/what-is-going-to-happen-for-query-indexing-requests-sent-to-master-node/245475/2 "2020-08-18T18:12:23Z")

</div>

> [@junhuangli](#):
>
> When using it, all traffic(query+indexing) are sent to master nodes in round robin right now. After reading docs, I believe we should change it to sent to data nodes instead. Is that right?

Yes, that is generally best practice.

> [@junhuangli](#):
>
> Also, what is going to happen for those requests that are sent to master node? Is this force master nodes to be a "coordinating node"? or it will just redirect to other data nodes?

It will act as coordinating node for that request.

---

<div class="post-metadata">

**Author:** ![junhuangli](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/junhuangli/32/77615_2.png) [@junhuangli](https://discuss.elastic.co/u/junhuangli)\
**Post date:** [August 18, 2020, 9:02pm UTC](https://discuss.elastic.co/t/what-is-going-to-happen-for-query-indexing-requests-sent-to-master-node/245475/3 "2020-08-18T21:02:19Z")

</div>

Thanks for the clarification @Christian_Dahlqvist

If we decide to add coordinating nodes due to traffic issue, does it make sense to send requests to both data node and coordinating nodes or it is better to send requests to coordinating nodes only?

---

<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:** [September 15, 2020, 9:02pm UTC](https://discuss.elastic.co/t/what-is-going-to-happen-for-query-indexing-requests-sent-to-master-node/245475/4 "2020-09-15T21:02:54Z")

</div>

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