Skip to content

Conversation

DaveCTurner
Copy link
Contributor

Today the Zen2 coordinator only applies a write block when there is no known
elected master, ignoring the discovery.zen.no_master_block setting. This
commit resolves this, applying the correct block according to the configuration
instead.

Today the Zen2 coordinator only applies a write block when there is no known
elected master, ignoring the `discovery.zen.no_master_block` setting. This
commit resolves this, applying the correct block according to the configuration
instead.
@DaveCTurner DaveCTurner added >bug v7.0.0 :Distributed Coordination/Cluster Coordination Cluster formation and cluster state publication, including cluster membership and fault detection. labels Dec 11, 2018
@DaveCTurner DaveCTurner requested a review from ywelsch December 11, 2018 13:59
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed

@ywelsch ywelsch mentioned this pull request Dec 11, 2018
61 tasks
Copy link
Contributor

@ywelsch ywelsch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was wondering if we should get rid of DiscoverySettings. In that case, it would be better to just extract the NO_MASTER_BLOCK stuff directly into Coordinator. Can you now also enable NoMasterNodeIT as well as testVerifyApiBlocksDuringPartition()?

@DaveCTurner DaveCTurner merged commit 21d91f1 into elastic:master Dec 11, 2018
@DaveCTurner DaveCTurner deleted the 2018-12-11-zen2-no-master-block branch December 11, 2018 16:40
@DaveCTurner
Copy link
Contributor Author

I will follow up with changes to the ITs.

I contemplated removing DiscoverySettings but decided not to. It's one of the many things that will be reorganised when we no longer need to support Zen1.

DaveCTurner added a commit to DaveCTurner/elasticsearch that referenced this pull request Dec 11, 2018
This change follows up on elastic#36478 by migrating the affected integration tests to
use Zen2.
jasontedor added a commit to dnhatn/elasticsearch that referenced this pull request Dec 11, 2018
* elastic/master: (36 commits)
  Add check for minimum required Docker version (elastic#36497)
  Minor search controller changes (elastic#36479)
  Add default methods to DocValueFormat (elastic#36480)
  Fix the mixed cluster REST test explain/11_basic_with_types.
  Modify `BigArrays` to take name of circuit breaker (elastic#36461)
  Move LoggedExec to minimumRuntime source set (elastic#36453)
  added 6.5.4 version
  Add test logging for elastic#35644
  Tests- added helper methods to ESRestTestCase for checking warnings (elastic#36443)
  SQL: move requests' parameters to requests JSON body (elastic#36149)
  [Zen2] Respect the no_master_block setting (elastic#36478)
  Require soft-deletes when access changes snapshot (elastic#36446)
  Switch more tests to zen2 (elastic#36367)
  [Painless] Add extensive tests for def to primitive casts (elastic#36455)
  Add setting to bypass Rollover action (elastic#36235)
  Try running CI against Zulu (elastic#36391)
  [DOCS] Reworked the shard allocation filtering info.  (elastic#36456)
  Log [initial_master_nodes] on formation failure (elastic#36466)
  converting ForbiddenPatternsTask to .java (elastic#36194)
  fixed typo
  ...
DaveCTurner added a commit that referenced this pull request Dec 12, 2018
This change follows up on #36478 by migrating the affected integration tests to
use Zen2.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Distributed Coordination/Cluster Coordination Cluster formation and cluster state publication, including cluster membership and fault detection. v7.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants