File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
server/src/main/java/org/elasticsearch/cluster/coordination Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -173,15 +173,15 @@ private boolean checkWaitRequirements(Set<DiscoveryNode> nodes) {
173173 }
174174 if (matchingNodes .size () > 1 ) {
175175 bootstrappingPermitted .set (false );
176- logger .warn ("bootstrapping cancelled: [{}] matches {}" , requirement , matchingNodes );
176+ logger .warn ("bootstrapping cancelled: requirement [{}] matches multiple nodes: {}" , requirement , matchingNodes );
177177 return false ;
178178 }
179179
180180 for (final DiscoveryNode matchingNode : matchingNodes ) {
181181 if (selectedNodes .add (matchingNode ) == false ) {
182182 bootstrappingPermitted .set (false );
183- logger .warn ("bootstrapping cancelled: [{}] matches {}" , matchingNode , initialMasterNodes . stream ()
184- . filter (r -> matchesRequirement (matchingNode , requirement )).collect (Collectors .toList ()));
183+ logger .warn ("bootstrapping cancelled: node [{}] matches multiple requirements: {}" , matchingNode ,
184+ initialMasterNodes . stream (). filter (r -> matchesRequirement (matchingNode , r )).collect (Collectors .toList ()));
185185 return false ;
186186 }
187187 }
You can’t perform that action at this time.
0 commit comments