File tree 1 file changed +1
-1
lines changed
buildSrc/src/main/groovy/org/elasticsearch/gradle/test
1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -361,7 +361,7 @@ class ClusterFormationTasks {
361
361
if (node. nodeVersion. before(" 7.0.0" ) && minimumMasterNodes > 0 ) {
362
362
esConfig[' discovery.zen.minimum_master_nodes' ] = minimumMasterNodes
363
363
}
364
- if (esConfig. containsKey(' discovery.zen.master_election.wait_for_joins_timeout' ) == false ) {
364
+ if (node . nodeVersion . before( " 7.0.0 " ) && esConfig. containsKey(' discovery.zen.master_election.wait_for_joins_timeout' ) == false ) {
365
365
// If a node decides to become master based on partial information from the pinging, don't let it hang for 30 seconds to correct
366
366
// its mistake. Instead, only wait 5s to do another round of pinging.
367
367
// This is necessary since we use 30s as the default timeout in REST requests waiting for cluster formation
You can’t perform that action at this time.
0 commit comments