# Cluster state yellow

**URL:** <https://discuss.elastic.co/t/cluster-state-yellow/15226>\
**Category:** Elasticsearch\
**Created:** [January 13, 2014, 9:30pm UTC](https://discuss.elastic.co/t/cluster-state-yellow/15226 "2014-01-13T21:30:19Z")\
**Posts on this page:** 4\
**Page:** 3

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [February 6, 2014, 9:30am UTC](https://discuss.elastic.co/t/cluster-state-yellow/15226/41 "2014-02-06T09:30:56Z")

</div>

Hey,

these two settings to not have a lot in common, wondering in what context  
you see them the same.

minimum\_master\_nodes setting is only about the count of available nodes,  
which are eligible to become a master in order to actually have an existing  
master in a cluster.  
write\_consistency qourum is actually a check when a document is indexed  
(and not about the nodes in a cluster) in order to decide if the document  
should be written at all (before it is actually indexed)

See

> **[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.

and

> **[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.

Does that make sense, is this more clear now?

--Alex

On Mon, Feb 3, 2014 at 11:19 PM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:

> How does minimum\_master\_nodes differ from action.write\_consistency? Would  
> setting write\_consistency to quorum help when minimum\_master is not set  
> appropriately?
> 
> On Thu, Jan 16, 2014 at 6:08 AM, Norberto Meijome [numard@gmail.com](mailto:numard@gmail.com)wrote:
> 
> > Gotcha, my bad.  
> > On 17/01/2014 12:43 AM, "[joergprante@gmail.com](mailto:joergprante@gmail.com)" [joergprante@gmail.com](mailto:joergprante@gmail.com)  
> > wrote:
> > 
> > > minimum\_master\_nodes is a dynamic cluster setting, that means, it can be  
> > > set via cluster update API.
> > > 
> > > Jörg
> > > 
> > > --  
> > > 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/CAKdsXoHFgi5Wj%2Bz0P%2Bq3AJj55bTjaNhjGAzj\_DHPmVfq6iRpBQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKdsXoHFgi5Wj%2Bz0P%2Bq3AJj55bTjaNhjGAzj_DHPmVfq6iRpBQ%40mail.gmail.com)  
> > > .  
> > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > 
> > --  
> > 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/CACj2-4JfuGA4wAmTCjMdo2T%2B4cuY96EV1EN3Grc-pDMt%3D3xX%3DA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CACj2-4JfuGA4wAmTCjMdo2T%2B4cuY96EV1EN3Grc-pDMt%3D3xX%3DA%40mail.gmail.com)  
> > .
> > 
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> --  
> 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/CAOT3TWrGJHi\_R\_WXquKD-GmYv\_fojs23h%2B-rBs-NZxNSznQwmQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAOT3TWrGJHi_R_WXquKD-GmYv_fojs23h%2B-rBs-NZxNSznQwmQ%40mail.gmail.com)  
> .
> 
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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/CAGCwEM-4K9f6dDScGMS75nZU-LYBvdQ5opi7k-nVBi6w%3DwstyA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAGCwEM-4K9f6dDScGMS75nZU-LYBvdQ5opi7k-nVBi6w%3DwstyA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Mohit\_Anchlia](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@Mohit\_Anchlia](https://discuss.elastic.co/u/Mohit_Anchlia)\
**Post date:** [February 6, 2014, 5:35pm UTC](https://discuss.elastic.co/t/cluster-state-yellow/15226/42 "2014-02-06T17:35:03Z")

</div>

So the checks are made in that order? 1) enough master nodes are available  
2) Within that cluster decide how many replicas would acknowledge success  
before returning back to the client

In other words just by having write\_consistency set to quorum it doesn't  
gurantee protection against split brain.

On Thu, Feb 6, 2014 at 1:30 AM, Alexander Reelsen [alr@spinscale.de](mailto:alr@spinscale.de) wrote:

> Hey,
> 
> these two settings to not have a lot in common, wondering in what context  
> you see them the same.
> 
> minimum\_master\_nodes setting is only about the count of available nodes,  
> which are eligible to become a master in order to actually have an existing  
> master in a cluster.  
> write\_consistency qourum is actually a check when a document is indexed  
> (and not about the nodes in a cluster) in order to decide if the document  
> should be written at all (before it is actually indexed)
> 
> See  
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-discovery-zen.html#master-election)  
> and  
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-index_.html#index-consistency)
> 
> Does that make sense, is this more clear now?
> 
> --Alex
> 
> On Mon, Feb 3, 2014 at 11:19 PM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:
> 
> > How does minimum\_master\_nodes differ from action.write\_consistency? Would  
> > setting write\_consistency to quorum help when minimum\_master is not set  
> > appropriately?
> > 
> > On Thu, Jan 16, 2014 at 6:08 AM, Norberto Meijome [numard@gmail.com](mailto:numard@gmail.com)wrote:
> > 
> > > Gotcha, my bad.  
> > > On 17/01/2014 12:43 AM, "[joergprante@gmail.com](mailto:joergprante@gmail.com)" [joergprante@gmail.com](mailto:joergprante@gmail.com)  
> > > wrote:
> > > 
> > > > minimum\_master\_nodes is a dynamic cluster setting, that means, it can  
> > > > be set via cluster update API.
> > > > 
> > > > Jörg
> > > > 
> > > > --  
> > > > 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/CAKdsXoHFgi5Wj%2Bz0P%2Bq3AJj55bTjaNhjGAzj\_DHPmVfq6iRpBQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKdsXoHFgi5Wj%2Bz0P%2Bq3AJj55bTjaNhjGAzj_DHPmVfq6iRpBQ%40mail.gmail.com)  
> > > > .  
> > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > 
> > > --  
> > > 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/CACj2-4JfuGA4wAmTCjMdo2T%2B4cuY96EV1EN3Grc-pDMt%3D3xX%3DA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CACj2-4JfuGA4wAmTCjMdo2T%2B4cuY96EV1EN3Grc-pDMt%3D3xX%3DA%40mail.gmail.com)  
> > > .
> > > 
> > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > 
> > --  
> > 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/CAOT3TWrGJHi\_R\_WXquKD-GmYv\_fojs23h%2B-rBs-NZxNSznQwmQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAOT3TWrGJHi_R_WXquKD-GmYv_fojs23h%2B-rBs-NZxNSznQwmQ%40mail.gmail.com)  
> > .
> > 
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> --  
> 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/CAGCwEM-4K9f6dDScGMS75nZU-LYBvdQ5opi7k-nVBi6w%3DwstyA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAGCwEM-4K9f6dDScGMS75nZU-LYBvdQ5opi7k-nVBi6w%3DwstyA%40mail.gmail.com)  
> .
> 
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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/CAOT3TWp6QV%2B8ySSY7PYLBiz2DEE%2B-xRvU0SnUiORJdRc1r85Fg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAOT3TWp6QV%2B8ySSY7PYLBiz2DEE%2B-xRvU0SnUiORJdRc1r85Fg%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [February 10, 2014, 12:40pm UTC](https://discuss.elastic.co/t/cluster-state-yellow/15226/43 "2014-02-10T12:40:35Z")

</div>

Hey,

not sure, if I made my point clear here:  
The minimum\_master\_nodes is an important setting, if a master node election  
is about to happen (this is not checked for each write of a document).  
The write\_consistency is a check, when a document is about to be stored.  
Also note, that this check happens, before the data is written to the  
primary shard. (This is not checked during a master election).

Hope it makes more sense now.

---Alex

On Thu, Feb 6, 2014 at 6:35 PM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:

> So the checks are made in that order? 1) enough master nodes are available  
> 2) Within that cluster decide how many replicas would acknowledge success  
> before returning back to the client
> 
> In other words just by having write\_consistency set to quorum it doesn't  
> gurantee protection against split brain.
> 
> On Thu, Feb 6, 2014 at 1:30 AM, Alexander Reelsen [alr@spinscale.de](mailto:alr@spinscale.de)wrote:
> 
> > Hey,
> > 
> > these two settings to not have a lot in common, wondering in what context  
> > you see them the same.
> > 
> > minimum\_master\_nodes setting is only about the count of available nodes,  
> > which are eligible to become a master in order to actually have an existing  
> > master in a cluster.  
> > write\_consistency qourum is actually a check when a document is indexed  
> > (and not about the nodes in a cluster) in order to decide if the document  
> > should be written at all (before it is actually indexed)
> > 
> > See  
> > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-discovery-zen.html#master-election)  
> > and  
> > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-index_.html#index-consistency)
> > 
> > Does that make sense, is this more clear now?
> > 
> > --Alex
> > 
> > On Mon, Feb 3, 2014 at 11:19 PM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:
> > 
> > > How does minimum\_master\_nodes differ from action.write\_consistency?  
> > > Would setting write\_consistency to quorum help when minimum\_master is not  
> > > set appropriately?
> > > 
> > > On Thu, Jan 16, 2014 at 6:08 AM, Norberto Meijome [numard@gmail.com](mailto:numard@gmail.com)wrote:
> > > 
> > > > Gotcha, my bad.  
> > > > On 17/01/2014 12:43 AM, "[joergprante@gmail.com](mailto:joergprante@gmail.com)" [joergprante@gmail.com](mailto:joergprante@gmail.com)  
> > > > wrote:
> > > > 
> > > > > minimum\_master\_nodes is a dynamic cluster setting, that means, it can  
> > > > > be set via cluster update API.
> > > > > 
> > > > > Jörg
> > > > > 
> > > > > --  
> > > > > 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/CAKdsXoHFgi5Wj%2Bz0P%2Bq3AJj55bTjaNhjGAzj\_DHPmVfq6iRpBQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKdsXoHFgi5Wj%2Bz0P%2Bq3AJj55bTjaNhjGAzj_DHPmVfq6iRpBQ%40mail.gmail.com)  
> > > > > .  
> > > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > > 
> > > > --  
> > > > 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/CACj2-4JfuGA4wAmTCjMdo2T%2B4cuY96EV1EN3Grc-pDMt%3D3xX%3DA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CACj2-4JfuGA4wAmTCjMdo2T%2B4cuY96EV1EN3Grc-pDMt%3D3xX%3DA%40mail.gmail.com)  
> > > > .
> > > > 
> > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > 
> > > --  
> > > 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/CAOT3TWrGJHi\_R\_WXquKD-GmYv\_fojs23h%2B-rBs-NZxNSznQwmQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAOT3TWrGJHi_R_WXquKD-GmYv_fojs23h%2B-rBs-NZxNSznQwmQ%40mail.gmail.com)  
> > > .
> > > 
> > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > 
> > --  
> > 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/CAGCwEM-4K9f6dDScGMS75nZU-LYBvdQ5opi7k-nVBi6w%3DwstyA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAGCwEM-4K9f6dDScGMS75nZU-LYBvdQ5opi7k-nVBi6w%3DwstyA%40mail.gmail.com)  
> > .
> > 
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> --  
> 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/CAOT3TWp6QV%2B8ySSY7PYLBiz2DEE%2B-xRvU0SnUiORJdRc1r85Fg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAOT3TWp6QV%2B8ySSY7PYLBiz2DEE%2B-xRvU0SnUiORJdRc1r85Fg%40mail.gmail.com)  
> .
> 
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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/CAGCwEM-wn\_YzhkiPS1F1aM\_hxAioHNtmO\_ndQyUOPA-\_S52KFQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAGCwEM-wn_YzhkiPS1F1aM_hxAioHNtmO_ndQyUOPA-_S52KFQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 1:51am UTC](https://discuss.elastic.co/t/cluster-state-yellow/15226/44 "2017-07-06T01:51:29Z")

</div>



[Previous page](https://discuss.elastic.co/t/cluster-state-yellow/15226.md?page=2)
