Cluster state yellow

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

and

Does that make sense, is this more clear now?

--Alex

On Mon, Feb 3, 2014 at 11:19 PM, Mohit Anchlia mohitanchlia@gmail.comwrote:

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.comwrote:

Gotcha, my bad.
On 17/01/2014 12:43 AM, "joergprante@gmail.com" 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.
To view this discussion on the web visit
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.

--
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.
To view this discussion on the web visit
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.

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

For more options, visit 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.
To view this discussion on the web visit 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.

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 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
and
Elasticsearch Platform — Find real-time answers at scale | Elastic

Does that make sense, is this more clear now?

--Alex

On Mon, Feb 3, 2014 at 11:19 PM, Mohit Anchlia mohitanchlia@gmail.comwrote:

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.comwrote:

Gotcha, my bad.
On 17/01/2014 12:43 AM, "joergprante@gmail.com" 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.
To view this discussion on the web visit
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.

--
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.
To view this discussion on the web visit
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.

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

For more options, visit 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.
To view this discussion on the web visit
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.

--
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.
To view this discussion on the web visit 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.

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.comwrote:

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.dewrote:

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
and
Elasticsearch Platform — Find real-time answers at scale | Elastic

Does that make sense, is this more clear now?

--Alex

On Mon, Feb 3, 2014 at 11:19 PM, Mohit Anchlia mohitanchlia@gmail.comwrote:

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.comwrote:

Gotcha, my bad.
On 17/01/2014 12:43 AM, "joergprante@gmail.com" 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.
To view this discussion on the web visit
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.

--
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.
To view this discussion on the web visit
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.

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

For more options, visit 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.
To view this discussion on the web visit
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.

--
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.
To view this discussion on the web visit
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.

--
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.
To view this discussion on the web visit 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.