Skip to content

Conversation

@matriv
Copy link
Contributor

@matriv matriv commented Feb 25, 2019

In integration tests where setBootstrapMasterNodeIndex() is used in
combination with autoMinMasterNodes = false the cluster can start
bootstrapping once the number of nodes set with the
setBootstrapMasterNodeIndex have been started but it's not ensured
that all nodes have successfully joined to form the cluster.

This behaviour was introduced with 5db7ed2
and in order to ensure that the cluster is properly formed before proceeding
with the integration test, use ensureStableCluster() with the
appropriate number of expected nodes.

Fixes: #39220

Backport of: #39300

In integration tests where `setBootstrapMasterNodeIndex()` is used in
combination with `autoMinMasterNodes = false` the cluster can start
bootstrapping once the number of nodes set with the
`setBootstrapMasterNodeIndex` have been started but it's not ensured
that all nodes have successfully joined to form the cluster.

This behaviour was introduced with 5db7ed2
and in order to ensure that the cluster is properly formed before proceeding
with the integration test, use `ensureStableCluster()` with the
appropriate number of expected nodes.

Fixes: elastic#39220
@matriv matriv added :Distributed Coordination/Cluster Coordination Cluster formation and cluster state publication, including cluster membership and fault detection. backport v7.2.0 labels Feb 25, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed

@matriv
Copy link
Contributor Author

matriv commented Feb 25, 2019

@elasticmachine run elasticsearch-ci/packaging-sample

@matriv matriv merged commit 11fe8cd into elastic:7.x Feb 25, 2019
@matriv matriv deleted the mt/backport-39300-7.x branch February 25, 2019 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport :Distributed Coordination/Cluster Coordination Cluster formation and cluster state publication, including cluster membership and fault detection. v7.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants