mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-22 12:56:53 +00:00
DISCOVERY: 0s Initial State Timeout in Tests (#35481)
* DISCOVERY: 0s Initial State Timeout in Tests * Don't wait for initial state even with a single node, otherwise the loop writing the discovery file causes that single node to wait for its own transport.ports file for 30s. * Closes #35456
This commit is contained in:
parent
cbb16d5ffc
commit
7919b66e67
@ -343,7 +343,7 @@ class ClusterFormationTasks {
|
||||
if (minimumMasterNodes > 0) {
|
||||
esConfig['discovery.zen.minimum_master_nodes'] = minimumMasterNodes
|
||||
}
|
||||
if (node.config.numNodes > 1) {
|
||||
if (minimumMasterNodes > 1) {
|
||||
// don't wait for state.. just start up quickly
|
||||
// this will also allow new and old nodes in the BWC case to become the master
|
||||
esConfig['discovery.initial_state_timeout'] = '0s'
|
||||
|
Loading…
x
Reference in New Issue
Block a user